From 2a6ba2e4218b17da9a66651615c5e5afe46ca043 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 3 Apr 2009 15:55:22 -0500 Subject: Using the correct way to find the DBus name and ids. --- src/indicator-messages.c | 4 ++-- 1 file 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; -- cgit v1.2.3