aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 2fa7f30..a026798 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -41,7 +41,7 @@ subtype_cb (IndicateListener * listener, IndicateListenerServer * server, Indica
{
GtkMenu * menushell = GTK_MENU(data);
- if (property != NULL || strcmp(property, "subtype")) {
+ if (property == NULL || strcmp(property, "subtype")) {
/* We should only ever get subtypes, but just in case */
g_warning("Subtype callback got a property '%s'", property);
return;