From a49c64388e891a46f03ebaf5c8c76d9309de372f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sat, 17 Oct 2009 21:42:00 -0500 Subject: Filling out the property list. --- src/libcustomindicator/custom-indicator.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libcustomindicator/custom-indicator.c b/src/libcustomindicator/custom-indicator.c index 25b0424..320b6e9 100644 --- a/src/libcustomindicator/custom-indicator.c +++ b/src/libcustomindicator/custom-indicator.c @@ -12,7 +12,12 @@ struct _CustomIndicatorPrivate { enum properties { PROP_0, - PROP_STATUS + PROP_ID, + PROP_CATEGORY, + PROP_STATUS, + PROP_ICON_NAME, + PROP_ATTENTION_ICON_NAME, + PROP_MENU }; #define CUSTOM_INDICATOR_GET_PRIVATE(o) \ @@ -77,7 +82,11 @@ custom_indicator_finalize (GObject *object) static void custom_indicator_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { + CustomIndicator * self = CUSTOM_INDICATOR(object); + g_return_if_fail(self != NULL); + CustomIndicatorPrivate * priv = CUSTOM_INDICATOR_GET_PRIVATE(self); + g_return_if_fail(priv != NULL); return; } -- cgit v1.2.3