mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Fix the dbus action group query_action implementation
This commit is contained in:
committed by
Ryan Lortie
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user