[glib] gio: Some more build fixes
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio: Some more build fixes
- Date: Wed, 29 Jun 2011 17:13:19 +0000 (UTC)
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]