[Galago-commits] r2852 - in branches/libgalago/push-presence: .
libgalago
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Wed Jun 14 02:04:14 PDT 2006
Author: chipx86
Date: 2006-06-14 02:04:10 -0700 (Wed, 14 Jun 2006)
New Revision: 2852
Modified:
branches/libgalago/push-presence/ChangeLog
branches/libgalago/push-presence/libgalago/galago-status-type.c
Log:
Sync up the .c file with the .h file.
Modified: branches/libgalago/push-presence/ChangeLog
===================================================================
--- branches/libgalago/push-presence/ChangeLog 2006-06-14 08:55:51 UTC (rev 2851)
+++ branches/libgalago/push-presence/ChangeLog 2006-06-14 09:04:10 UTC (rev 2852)
@@ -1,3 +1,8 @@
+Wed Jun 14 02:03:42 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * libgalago/galago-status-type.c:
+ - Sync up the .c file with the .h file.
+
Wed Jun 14 01:55:28 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
* docs/reference/libgalago-sections.txt:
Modified: branches/libgalago/push-presence/libgalago/galago-status-type.c
===================================================================
--- branches/libgalago/push-presence/libgalago/galago-status-type.c 2006-06-14 08:55:51 UTC (rev 2851)
+++ branches/libgalago/push-presence/libgalago/galago-status-type.c 2006-06-14 09:04:10 UTC (rev 2852)
@@ -490,13 +490,22 @@
NULL);
}
+void
+galago_status_type_add_attribute(GalagoStatusType *status_type,
+ GalagoStatusAttr *attr)
+{
+ g_return_if_fail(status_type != NULL);
+ g_return_if_fail(GALAGO_IS_STATUS_TYPE(status_type));
+ g_return_if_fail(attr != NULL);
+}
+
/**
* galago_status_type_get_primitive
- * @status: The status.
+ * @status_type: The status type.
*
- * Returns the primitive type of a status.
+ * Returns the primitive type of a status type.
*
- * Returns: The status's primitive type.
+ * Returns: The status type's primitive type.
*/
GalagoStatusPrimitive
galago_status_type_get_primitive(const GalagoStatusType *status_type)
@@ -510,62 +519,62 @@
/**
* galago_status_type_get_id
- * @status: The status.
+ * @status_type: The status type.
*
- * Returns the status's ID.
+ * Returns the status type's ID.
*
- * Returns: The status's ID.
+ * Returns: The status type's ID.
*/
const char *
-galago_status_type_get_id(const GalagoStatusType *status)
+galago_status_type_get_id(const GalagoStatusType *status_type)
{
- g_return_val_if_fail(status != NULL, NULL);
- g_return_val_if_fail(GALAGO_IS_STATUS_TYPE(status), NULL);
+ g_return_val_if_fail(status_type != NULL, NULL);
+ g_return_val_if_fail(GALAGO_IS_STATUS_TYPE(status_type), NULL);
- return status->priv->id;
+ return status_type->priv->id;
}
/**
* galago_status_type_get_name
- * @status: The status.
+ * @status_type: The status type.
*
- * Returns the status's name.
+ * Returns the status type's name.
*
- * Returns: The status's name.
+ * Returns: The status type's name.
*/
const char *
-galago_status_type_get_name(const GalagoStatusType *status)
+galago_status_type_get_name(const GalagoStatusType *status_type)
{
- g_return_val_if_fail(status != NULL, NULL);
- g_return_val_if_fail(GALAGO_IS_STATUS_TYPE(status), NULL);
+ g_return_val_if_fail(status_type != NULL, NULL);
+ g_return_val_if_fail(GALAGO_IS_STATUS_TYPE(status_type), NULL);
- return status->priv->name;
+ return status_type->priv->name;
}
/**
* galago_status_type_is_exclusive
- * @status: The status.
+ * @status_type: The status type.
*
- * Returns whether or not a status is exclusive.
+ * Returns whether or not a status type is exclusive.
*
- * Returns: TRUE if the status is exclusive, or FALSE.
+ * Returns: TRUE if the status type is exclusive, or FALSE.
*/
gboolean
-galago_status_type_is_exclusive(const GalagoStatusType *status)
+galago_status_type_is_exclusive(const GalagoStatusType *status_type)
{
- g_return_val_if_fail(status != NULL, FALSE);
- g_return_val_if_fail(GALAGO_IS_STATUS_TYPE(status), FALSE);
+ g_return_val_if_fail(status_type != NULL, FALSE);
+ g_return_val_if_fail(GALAGO_IS_STATUS_TYPE(status_type), FALSE);
- return status->priv->exclusive;
+ return status_type->priv->exclusive;
}
/**
* galago_status_type_is_available
- * @status: The status.
+ * @status_type: The status type.
*
- * Returns whether or not a status is considered available.
+ * Returns whether or not a status type is considered available.
*
- * Returns: TRUE if the status is available, or FALSE.
+ * Returns: TRUE if the status type is available, or FALSE.
*/
gboolean
galago_status_type_is_available(const GalagoStatusType *status_type)
More information about the galago-commits
mailing list