mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Fix the dbus action group query_action implementation
This commit is contained in:
parent
5002cb2935
commit
7ef3e27255
@ -184,7 +184,7 @@ g_dbus_action_group_query_action (GActionGroup *g_group,
|
||||
*state_hint = NULL;
|
||||
|
||||
if (state)
|
||||
*state = g_variant_ref (info->state);
|
||||
*state = info->state ? g_variant_ref (info->state) : NULL;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user