aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-10-02 13:33:09 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-10-02 13:33:09 +0200
commit3e1f4715f80e057d7e0b46e9966caee0bbf88444 (patch)
treec4226e09269f36f6f87a3694106f9309660fa814
parentd80040726cf55f4f65a7353baff4cf864d981b17 (diff)
downloadayatana-indicator-messages-3e1f4715f80e057d7e0b46e9966caee0bbf88444.tar.gz
ayatana-indicator-messages-3e1f4715f80e057d7e0b46e9966caee0bbf88444.tar.bz2
ayatana-indicator-messages-3e1f4715f80e057d7e0b46e9966caee0bbf88444.zip
im-application-list.c: return values from functions that have return values
-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);