aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Uebernickel <lars@uebernic.de>2015-10-02 15:32:33 +0000
committerCI Train Bot <ci-train-bot@canonical.com>2015-10-02 15:32:33 +0000
commit771ce0c2ee93a08ead966de9be84b86270545f76 (patch)
tree4f38ac1053b83188732ffb0f1c12d7fcff99f368 /src
parentf007376cf5eeec4b613a9be2d5ebdbe367087e3b (diff)
parentfd3ea181622ca5aaf72554f642f5841746bd9f0f (diff)
downloadayatana-ido-771ce0c2ee93a08ead966de9be84b86270545f76.tar.gz
ayatana-ido-771ce0c2ee93a08ead966de9be84b86270545f76.tar.bz2
ayatana-ido-771ce0c2ee93a08ead966de9be84b86270545f76.zip
idosourcemenuitem: change misplaced g_return_val_if_fail()
Approved by: Sebastien Bacher, PS Jenkins bot
Diffstat (limited to 'src')
-rw-r--r--src/idosourcemenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idosourcemenuitem.c b/src/idosourcemenuitem.c
index 6bc2ffa..79455da 100644
--- a/src/idosourcemenuitem.c
+++ b/src/idosourcemenuitem.c
@@ -201,7 +201,7 @@ ido_source_menu_item_state_changed (IdoActionHelper *helper,
item->timer_id = 0;
}
- g_return_val_if_fail (g_variant_is_of_type (state, G_VARIANT_TYPE ("(uxsb)")), FALSE);
+ g_return_if_fail (g_variant_is_of_type (state, G_VARIANT_TYPE ("(uxsb)")));
g_variant_get (state, "(ux&sb)", &count, &time, &str, NULL);