mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gdesktopappinfo: Add missing return value
This commit is contained in:
parent
097ba61b33
commit
8a1b553728
@ -3778,7 +3778,7 @@ g_desktop_app_info_get_action_name (GDesktopAppInfo *info,
|
||||
|
||||
g_return_val_if_fail (G_IS_DESKTOP_APP_INFO (info), NULL);
|
||||
g_return_val_if_fail (action_name != NULL, NULL);
|
||||
g_return_if_fail (app_info_has_action (info, action_name));
|
||||
g_return_val_if_fail (app_info_has_action (info, action_name), NULL);
|
||||
|
||||
group_name = g_strdup_printf ("Desktop Action %s", action_name);
|
||||
result = g_key_file_get_locale_string (info->keyfile, group_name, "Name", NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user