[gtk+] Fix compile warning in defaultvalue test



commit 2518fbdc02bd1e58631bb6379539d5e343dc2300
Author: Kristian Rietveld <kris gtk org>
Date:   Wed Sep 30 13:09:22 2009 +0200

    Fix compile warning in defaultvalue test

 gtk/tests/defaultvalue.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/tests/defaultvalue.c b/gtk/tests/defaultvalue.c
index 6f3f722..a3534b1 100644
--- a/gtk/tests/defaultvalue.c
+++ b/gtk/tests/defaultvalue.c
@@ -173,8 +173,8 @@ test_type (gconstpointer data)
 
       /* Default invisible char is determined at runtime */
       if (g_type_is_a (type, GTK_TYPE_ENTRY) &&
-	  strcmp (pspec->name, "invisible-char") == 0 ||
-          strcmp (pspec->name, "buffer") == 0)
+	  (strcmp (pspec->name, "invisible-char") == 0 ||
+           strcmp (pspec->name, "buffer") == 0))
 	continue;
 
       /* Gets set to the cwd */



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