From ec982cfce1b1877eee7105a4e1a45233ea49647d Mon Sep 17 00:00:00 2001 From: Antonio Fernandez Date: Mon, 17 Sep 2012 23:35:42 +0100 Subject: Memory management improvements on GLOMenu and GLOActionGroup classes. Change-Id: I1c4fb268a08c2b343ac99ee9294f536c1444f707 --- vcl/unx/gtk/window/gloactiongroup.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/unx/gtk/window/gloactiongroup.cxx') diff --git a/vcl/unx/gtk/window/gloactiongroup.cxx b/vcl/unx/gtk/window/gloactiongroup.cxx index 12670ced12a1..d0837038c94f 100644 --- a/vcl/unx/gtk/window/gloactiongroup.cxx +++ b/vcl/unx/gtk/window/gloactiongroup.cxx @@ -167,10 +167,10 @@ g_lo_action_group_query_action (GActionGroup *group, *state_type = action->state_type; if (state_hint) - *state_hint = (action->state_hint) ? g_variant_ref(action->state_hint) : NULL; + *state_hint = (action->state_hint) ? g_variant_ref (action->state_hint) : NULL; if (state) - *state = (action->state) ? g_variant_ref(action->state) : NULL; + *state = (action->state) ? g_variant_ref (action->state) : NULL; return TRUE; } -- cgit v1.2.1