From e4db2322a21d87c66bf0d9a678e24be119579464 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 21 Jan 2009 16:28:35 -0600 Subject: It's truly amazing how many logic errors I make --- src/indicator-messages.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/indicator-messages.c b/src/indicator-messages.c index c8540cb..2fa7f30 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -93,9 +93,10 @@ subtype_cb (IndicateListener * listener, IndicateListenerServer * server, Indica static void indicator_added (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * type, gpointer data) { - if (type != NULL || strcmp(type, "message")) { + if (type == NULL || strcmp(type, "message")) { /* We only care about message type indicators all of the others can go to the bit bucket */ + g_debug("Ignoreing indicator of type '%s'", type); return; } g_debug("Got a message"); -- cgit v1.2.3