[glib] gobject: Fix a compiler warning



commit 75ca1cd15891739052c96e94eed5f046f344f9c5
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Wed Mar 7 12:53:14 2012 +0000

    gobject: Fix a compiler warning
    
    Shuffle the parenthesis around.

 gobject/gsignal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gsignal.c b/gobject/gsignal.c
index ff83496..fafe0ae 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]