aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-17 21:42:00 -0500
committerTed Gould <ted@canonical.com>2009-10-17 21:42:00 -0500
commita49c64388e891a46f03ebaf5c8c76d9309de372f (patch)
treea06c6c1aea1edd23022afcc3bc54dc79af7a8888 /src
parent85b61a412d9cfafd73422f5e021bc315ed30c805 (diff)
downloadlibayatana-appindicator-a49c64388e891a46f03ebaf5c8c76d9309de372f.tar.gz
libayatana-appindicator-a49c64388e891a46f03ebaf5c8c76d9309de372f.tar.bz2
libayatana-appindicator-a49c64388e891a46f03ebaf5c8c76d9309de372f.zip
Filling out the property list.
Diffstat (limited to 'src')
-rw-r--r--src/libcustomindicator/custom-indicator.c11
1 files changed, 10 insertions, 1 deletions
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;
}