aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/im-application-list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/im-application-list.c b/src/im-application-list.c
index fc9775f..b04321d 100644
--- a/src/im-application-list.c
+++ b/src/im-application-list.c
@@ -675,8 +675,8 @@ im_application_list_add (ImApplicationList *list,
GSimpleAction *launch_action;
IndicatorDesktopShortcuts * shortcuts = NULL;
- g_return_if_fail (IM_IS_APPLICATION_LIST (list));
- g_return_if_fail (desktop_id != NULL);
+ g_return_val_if_fail (IM_IS_APPLICATION_LIST (list), FALSE);
+ g_return_val_if_fail (desktop_id != NULL, FALSE);
if (im_application_list_lookup (list, desktop_id))
return TRUE;
@@ -689,7 +689,7 @@ im_application_list_add (ImApplicationList *list,
}
id = g_app_info_get_id (G_APP_INFO (info));
- g_return_if_fail (id != NULL);
+ g_return_val_if_fail (id != NULL, FALSE);
{
const char * filename = g_desktop_app_info_get_filename(info);