diff options
Diffstat (limited to 'libindicate/server.c')
-rw-r--r-- | libindicate/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libindicate/server.c b/libindicate/server.c index a90fbe8..84f7562 100644 --- a/libindicate/server.c +++ b/libindicate/server.c @@ -176,7 +176,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); @@ -273,7 +273,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; } |