summaryrefslogtreecommitdiffstats
path: root/glib/dbus-gidl.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/dbus-gidl.c')
-rw-r--r--glib/dbus-gidl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/dbus-gidl.c b/glib/dbus-gidl.c
index ea476b0f..2605df01 100644
--- a/glib/dbus-gidl.c
+++ b/glib/dbus-gidl.c
@@ -70,8 +70,8 @@ struct ArgInfo
BaseInfo *
base_info_ref (BaseInfo *info)
{
- g_return_if_fail (info != NULL);
- g_return_if_fail (info->refcount > 0);
+ g_return_val_if_fail (info != NULL, NULL);
+ g_return_val_if_fail (info->refcount > 0, NULL);
info->refcount += 1;