diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-28 16:03:16 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-28 16:03:16 -0400 |
commit | e7e2b6357c8b4f1dade9c4e4be9b193d747626e2 (patch) | |
tree | a143b5c8d3348d61ab6ca27db32a643ac2a84a62 | |
parent | 90904091b7258ec6a3d02f50e4113acbb1c8214e (diff) | |
download | libayatana-indicator-e7e2b6357c8b4f1dade9c4e4be9b193d747626e2.tar.gz libayatana-indicator-e7e2b6357c8b4f1dade9c4e4be9b193d747626e2.tar.bz2 libayatana-indicator-e7e2b6357c8b4f1dade9c4e4be9b193d747626e2.zip |
indicator-object: g_return_if_fail -> g_return_val_if_fail
-rw-r--r-- | libindicator/indicator-object.c | 2 |
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; } |