diff options
author | Ted Gould <ted@canonical.com> | 2009-04-02 11:34:56 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-02 11:34:56 -0500 |
commit | 1212c8e00290669f251067fb22ccf7f16f4719df (patch) | |
tree | 7cac5c3ca154d26813a4e956f83fdf5f73542e5e | |
parent | 5ebb3c4f87cf9965183c055d52193e656c59193b (diff) | |
download | libayatana-indicator-1212c8e00290669f251067fb22ccf7f16f4719df.tar.gz libayatana-indicator-1212c8e00290669f251067fb22ccf7f16f4719df.tar.bz2 libayatana-indicator-1212c8e00290669f251067fb22ccf7f16f4719df.zip |
Adding the interest removed and interest added signals in.
-rw-r--r-- | libindicate/server.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libindicate/server.c b/libindicate/server.c index e11a4a3..e560ba8 100644 --- a/libindicate/server.c +++ b/libindicate/server.c @@ -59,6 +59,8 @@ enum { SERVER_SHOW, SERVER_HIDE, SERVER_DISPLAY, + INTEREST_ADDED, + INTEREST_REMOVED, LAST_SIGNAL }; @@ -185,6 +187,20 @@ indicate_server_class_init (IndicateServerClass * class) NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + signals[INTEREST_ADDED] = g_signal_new(INDICATE_SERVER_SIGNAL_INTEREST_ADDED, + G_TYPE_FROM_CLASS (class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (IndicateServerClass, interest_added), + NULL, NULL, + g_cclosure_marshal_VOID__UINT, + G_TYPE_NONE, 1, G_TYPE_UINT); + signals[INTEREST_REMOVED] = g_signal_new(INDICATE_SERVER_SIGNAL_INTEREST_REMOVED, + G_TYPE_FROM_CLASS (class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (IndicateServerClass, interest_removed), + NULL, NULL, + g_cclosure_marshal_VOID__UINT, + G_TYPE_NONE, 1, G_TYPE_UINT); g_object_class_install_property (gobj, PROP_DESKTOP, g_param_spec_string("desktop", "Desktop File", |