Commit 7ef3e272 authored by Matthias Clasen's avatar Matthias Clasen Committed by Allison Karlitskaya

Fix the dbus action group query_action implementation

parent 5002cb29
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment