[glib] gio: Some more build fixes



commit 847a8eb911553a76df0fd2ce124cf77dbc7c8877
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Wed Jun 29 18:07:29 2011 +0100

    gio: Some more build fixes

 gio/gsimpleaction.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gsimpleaction.c b/gio/gsimpleaction.c
index 8dccf1e..00d5250 100644
--- a/gio/gsimpleaction.c
+++ b/gio/gsimpleaction.c
@@ -522,8 +522,8 @@ g_simple_action_new_stateful (const gchar        *name,
 {
   GSimpleAction *simple;
 
-  g_return_val_if_fail (name != NULL);
-  g_return_val_if_fail (state != NULL);
+  g_return_val_if_fail (name != NULL, NULL);
+  g_return_val_if_fail (state != NULL, NULL);
 
   simple = g_object_new (G_TYPE_SIMPLE_ACTION, NULL);
   simple->name = g_strdup (name);



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