aboutsummaryrefslogtreecommitdiff
path: root/libindicate/server.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-07 12:41:40 -0600
committerTed Gould <ted@canonical.com>2009-02-07 12:41:40 -0600
commitb9558054100c8e66cead50a49036bf83e7e0e2f9 (patch)
tree97830a9af4cc0b6c4b2d9ab7f8825a06ba2de918 /libindicate/server.c
parentf308079a76c6a7aed8a5fcebf6a5241330adb636 (diff)
parentaf60279179c1e3998796d3b172b1401bd9a678df (diff)
downloadlibayatana-indicator-b9558054100c8e66cead50a49036bf83e7e0e2f9.tar.gz
libayatana-indicator-b9558054100c8e66cead50a49036bf83e7e0e2f9.tar.bz2
libayatana-indicator-b9558054100c8e66cead50a49036bf83e7e0e2f9.zip
Sending the type with the signal in the listener, adding it into the tests.
Diffstat (limited to 'libindicate/server.c')
-rw-r--r--libindicate/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libindicate/server.c b/libindicate/server.c
index 6139fd0..f5bd0bb 100644
--- a/libindicate/server.c
+++ b/libindicate/server.c
@@ -175,7 +175,7 @@ indicate_server_finalize (GObject * obj)
IndicateServerPrivate * priv = INDICATE_SERVER_GET_PRIVATE(server);
/* TODO: This probably shouldn't be as far down as finalize, but it's fine here. */
- g_signal_emit(server, signals[SERVER_HIDE], 0, "", TRUE);
+ g_signal_emit(server, signals[SERVER_HIDE], 0, priv->type ? priv->type : "", TRUE);
if (priv->path) {
g_free(priv->path);
@@ -270,7 +270,7 @@ indicate_server_show (IndicateServer * server)
G_OBJECT(server));
priv->visible = TRUE;
- g_signal_emit(server, signals[SERVER_SHOW], 0, "", TRUE);
+ g_signal_emit(server, signals[SERVER_SHOW], 0, priv->type ? priv->type : "", TRUE);
return;
}