Fix a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Mar 2012 12:54:47 +0000 (07:54 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 Mar 2012 12:54:47 +0000 (07:54 -0500)
gobject/gsignal.c

index 09c6195..2a36d15 100644 (file)
@@ -3160,7 +3160,7 @@ g_signal_emit_valist (gpointer instance,
 
       /* Don't allow no-recurse emission as we might have to restart, which means
         we will run multiple handlers and thus must ref all arguments */
-      if (closure != NULL && node->flags & (G_SIGNAL_NO_RECURSE) != 0)
+      if (closure != NULL && (node->flags & (G_SIGNAL_NO_RECURSE) != 0))
        fastpath = FALSE;
       
       if (fastpath)