aboutsummaryrefslogtreecommitdiff
path: root/src/libcustomindicator/custom-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-20 09:59:57 -0500
committerTed Gould <ted@canonical.com>2009-10-20 09:59:57 -0500
commit56cd30a60f5629f6d4afa5642c351b27838afa2d (patch)
treecafafb4d692201115b511f4fc2992c6a767e9494 /src/libcustomindicator/custom-indicator.c
parentb82c8da3f4ace3aa62097f2c3ea2b92c7d553191 (diff)
downloadayatana-indicator-application-56cd30a60f5629f6d4afa5642c351b27838afa2d.tar.gz
ayatana-indicator-application-56cd30a60f5629f6d4afa5642c351b27838afa2d.tar.bz2
ayatana-indicator-application-56cd30a60f5629f6d4afa5642c351b27838afa2d.zip
Basic property case statements.
Diffstat (limited to 'src/libcustomindicator/custom-indicator.c')
-rw-r--r--src/libcustomindicator/custom-indicator.c44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/libcustomindicator/custom-indicator.c b/src/libcustomindicator/custom-indicator.c
index d59e1c5..4ac2014 100644
--- a/src/libcustomindicator/custom-indicator.c
+++ b/src/libcustomindicator/custom-indicator.c
@@ -233,13 +233,57 @@ custom_indicator_set_property (GObject * object, guint prop_id, const GValue * v
CustomIndicatorPrivate * priv = CUSTOM_INDICATOR_GET_PRIVATE(self);
g_return_if_fail(priv != NULL);
+ switch (prop_id) {
+ case PROP_ID:
+ break;
+ case PROP_CATEGORY:
+ break;
+ case PROP_STATUS:
+ break;
+ case PROP_ICON_NAME:
+ break;
+ case PROP_ATTENTION_ICON_NAME:
+ break;
+ case PROP_MENU:
+ break;
+ case PROP_CONNECTED:
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
+
return;
}
static void
custom_indicator_get_property (GObject * object, guint prop_id, 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);
+ switch (prop_id) {
+ case PROP_ID:
+ break;
+ case PROP_CATEGORY:
+ break;
+ case PROP_STATUS:
+ break;
+ case PROP_ICON_NAME:
+ break;
+ case PROP_ATTENTION_ICON_NAME:
+ break;
+ case PROP_MENU:
+ break;
+ case PROP_CONNECTED:
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
return;
}