[glib] Fix a compiler warning



commit afe30b28847487d9b5cb4fb65ce740107cbc7423
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 5 07:54:47 2012 -0500

    Fix a compiler warning

 gobject/gsignal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gsignal.c b/gobject/gsignal.c
index 09c6195..2a36d15 100644
--- a/gobject/gsignal.c
+++ b/gobject/gsignal.c
@@ -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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]