projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5002cb2
)
Fix the dbus action group query_action implementation
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 28 Nov 2011 23:12:17 +0000
(18:12 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Thu, 8 Dec 2011 23:05:13 +0000
(18:05 -0500)
gio/gdbusactiongroup.c
patch
|
blob
|
history
diff --git
a/gio/gdbusactiongroup.c
b/gio/gdbusactiongroup.c
index
b0e1116
..
24c5fad
100644
(file)
--- a/
gio/gdbusactiongroup.c
+++ b/
gio/gdbusactiongroup.c
@@
-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;
}