aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-28 16:03:16 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-28 16:03:16 -0400
commite7e2b6357c8b4f1dade9c4e4be9b193d747626e2 (patch)
treea143b5c8d3348d61ab6ca27db32a643ac2a84a62 /libindicator/indicator-object.c
parent90904091b7258ec6a3d02f50e4113acbb1c8214e (diff)
downloadlibayatana-indicator-e7e2b6357c8b4f1dade9c4e4be9b193d747626e2.tar.gz
libayatana-indicator-e7e2b6357c8b4f1dade9c4e4be9b193d747626e2.tar.bz2
libayatana-indicator-e7e2b6357c8b4f1dade9c4e4be9b193d747626e2.zip
indicator-object: g_return_if_fail -> g_return_val_if_fail
Diffstat (limited to 'libindicator/indicator-object.c')
-rw-r--r--libindicator/indicator-object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index 1a4ed17..40f114e 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -783,7 +783,7 @@ indicator_object_entry_was_added (IndicatorObject * io, IndicatorObjectEntry * e
static gint
indicator_object_real_get_position (IndicatorObject *io)
{
- g_return_if_fail (INDICATOR_IS_OBJECT (io));
+ g_return_val_if_fail (INDICATOR_IS_OBJECT (io), -1);
return -1;
}