aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-21 16:28:35 -0600
committerTed Gould <ted@canonical.com>2009-01-21 16:28:35 -0600
commite4db2322a21d87c66bf0d9a678e24be119579464 (patch)
tree7117ea0af152f747cde886b07096bf1e87fcfd66
parent281b4d99f44ae09e239ce66f24264dc72ac5bba6 (diff)
downloadayatana-indicator-messages-e4db2322a21d87c66bf0d9a678e24be119579464.tar.gz
ayatana-indicator-messages-e4db2322a21d87c66bf0d9a678e24be119579464.tar.bz2
ayatana-indicator-messages-e4db2322a21d87c66bf0d9a678e24be119579464.zip
It's truly amazing how many logic errors I make
-rw-r--r--src/indicator-messages.c3
1 files changed, 2 insertions, 1 deletions
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");