diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-02 13:33:09 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-02 13:33:09 +0200 |
commit | 3e1f4715f80e057d7e0b46e9966caee0bbf88444 (patch) | |
tree | c4226e09269f36f6f87a3694106f9309660fa814 /src | |
parent | d80040726cf55f4f65a7353baff4cf864d981b17 (diff) | |
download | ayatana-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
Diffstat (limited to 'src')
-rw-r--r-- | src/im-application-list.c | 6 |
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); |