[network-manager-applet] applet: fix wrong return type (bgo #644673)



commit 6647892d341e4e1ce49d14eec51ef308549540a5
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Mon Mar 14 01:07:51 2011 -0500

    applet: fix wrong return type (bgo #644673)

 src/gconf-helpers/tests/fake-gconf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gconf-helpers/tests/fake-gconf.c b/src/gconf-helpers/tests/fake-gconf.c
index 918f11e..7ffacff 100644
--- a/src/gconf-helpers/tests/fake-gconf.c
+++ b/src/gconf-helpers/tests/fake-gconf.c
@@ -279,11 +279,11 @@ gconf_client_get_int (GConfClient *client, const gchar* key, GError **error)
 {
 	Value *v;
 
-	g_return_val_if_fail (client != NULL, FALSE);
+	g_return_val_if_fail (client != NULL, 0);
 
 	v = g_hash_table_lookup (GCONF_CLIENT_GET_PRIVATE (client)->keys, key);
 	if (v) {
-		g_return_val_if_fail (v->type == GCONF_VALUE_INT, FALSE);
+		g_return_val_if_fail (v->type == GCONF_VALUE_INT, 0);
 		return v->v_int;
 	}
 	return 0;



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