aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-03 15:55:22 -0500
committerTed Gould <ted@canonical.com>2009-04-03 15:55:22 -0500
commit2a6ba2e4218b17da9a66651615c5e5afe46ca043 (patch)
treedb5eb880e58049d6f36eb13430f583f3bdc42666
parent1a4df93becd5b029bb10d8d6caa2bd59499e4209 (diff)
downloadayatana-indicator-messages-2a6ba2e4218b17da9a66651615c5e5afe46ca043.tar.gz
ayatana-indicator-messages-2a6ba2e4218b17da9a66651615c5e5afe46ca043.tar.bz2
ayatana-indicator-messages-2a6ba2e4218b17da9a66651615c5e5afe46ca043.zip
Using the correct way to find the DBus name and ids.
-rw-r--r--src/indicator-messages.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 83520ff..72f74a3 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -411,7 +411,7 @@ indicator_added (IndicateListener * listener, IndicateListenerServer * server, I
static void
indicator_removed (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * type, gpointer data)
{
- g_debug("Removing %s %d", (gchar*)server, (guint)indicator);
+ g_debug("Removing %s %d", INDICATE_LISTENER_SERVER_DBUS_NAME(server), INDICATE_LISTENER_INDICATOR_ID(indicator));
if (type == NULL || strcmp(type, "message")) {
/* We only care about message type indicators
all of the others can go to the bit bucket */
@@ -453,7 +453,7 @@ indicator_removed (IndicateListener * listener, IndicateListenerServer * server,
}
if (!removed) {
- g_warning("We were asked to remove %s %d but we didn't.", (gchar*)server, (guint)indicator);
+ g_warning("We were asked to remove %s %d but we didn't.", INDICATE_LISTENER_SERVER_DBUS_NAME(server), INDICATE_SERVER_INDICATOR_ID(indicator));
}
return;