summaryrefslogtreecommitdiff
path: root/gconf/gconf-value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gconf/gconf-value.c')
-rw-r--r--gconf/gconf-value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gconf/gconf-value.c b/gconf/gconf-value.c
index de42f752..dd198d4a 100644
--- a/gconf/gconf-value.c
+++ b/gconf/gconf-value.c
@@ -1504,7 +1504,7 @@ gconf_entry_new_nocopy (char* key, GConfValue* val)
GConfEntry *
gconf_entry_ref (GConfEntry *entry)
{
- g_return_if_fail (entry != NULL);
+ g_return_val_if_fail (entry != NULL, NULL);
REAL_ENTRY (entry)->refcount += 1;