[Galago-commits] r2815 - in branches/libgalago/push-presence: .
libgalago
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Fri May 26 00:07:16 PDT 2006
Author: chipx86
Date: 2006-05-26 00:07:12 -0700 (Fri, 26 May 2006)
New Revision: 2815
Modified:
branches/libgalago/push-presence/ChangeLog
branches/libgalago/push-presence/libgalago/galago-status.c
branches/libgalago/push-presence/libgalago/galago-status.h
Log:
Add stubs for galago_status_new_with_attrs() and galago_status_add_attribute().
Modified: branches/libgalago/push-presence/ChangeLog
===================================================================
--- branches/libgalago/push-presence/ChangeLog 2006-05-25 04:51:58 UTC (rev 2814)
+++ branches/libgalago/push-presence/ChangeLog 2006-05-26 07:07:12 UTC (rev 2815)
@@ -1,3 +1,10 @@
+Fri May 26 00:06:10 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * libgalago/galago-status.c:
+ * libgalago/galago-status.h:
+ - Add stubs for galago_status_new_with_attrs() and
+ galago_status_add_attribute().
+
Wed May 24 21:50:58 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
* docs/reference/tmpl/galago-status.sgml:
Modified: branches/libgalago/push-presence/libgalago/galago-status.c
===================================================================
--- branches/libgalago/push-presence/libgalago/galago-status.c 2006-05-25 04:51:58 UTC (rev 2814)
+++ branches/libgalago/push-presence/libgalago/galago-status.c 2006-05-26 07:07:12 UTC (rev 2815)
@@ -108,7 +108,7 @@
g_param_spec_boolean("exclusive", "Exclusive",
"The status's exclusive state",
FALSE,
- G_PARAM_READWRITE |
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
}
@@ -486,6 +486,16 @@
}
/**
+ * galago_status_add_attribute
+ * @status: The status.
+ */
+void
+galago_status_add_attribute(GalagoStatus *status, const char *attr_id,
+ const char *attr_name, GType attr_type)
+{
+}
+
+/**
* galago_status_get_primitive
* @status: The status.
*
Modified: branches/libgalago/push-presence/libgalago/galago-status.h
===================================================================
--- branches/libgalago/push-presence/libgalago/galago-status.h 2006-05-25 04:51:58 UTC (rev 2814)
+++ branches/libgalago/push-presence/libgalago/galago-status.h 2006-05-26 07:07:12 UTC (rev 2815)
@@ -108,6 +108,15 @@
GalagoStatus *galago_status_new(GalagoStatusType type, const char *id,
const char *name, gboolean exclusive);
+GalagoStatus *galago_status_new_with_attrs(GalagoStatusType type,
+ const char *id,
+ const char *name,
+ gboolean exclusive,
+ const char *attr_id,
+ const char *attr_name,
+ GType attr_type, ...);
+void galago_status_add_attribute(GalagoStatus *status, const char *attr_id,
+ const char *attr_name, GType attr_type);
GalagoStatusType galago_status_get_primitive(const GalagoStatus *status);
const char *galago_status_get_id(const GalagoStatus *status);
More information about the galago-commits
mailing list