[glade] gladeui/glade-design-layout.c unref GtkStyleContext object used in glade_design_layout_style_updated
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] gladeui/glade-design-layout.c unref GtkStyleContext object used in glade_design_layout_style_updated
- Date: Thu, 6 Oct 2011 19:44:05 +0000 (UTC)
commit 551dcae29b17cfd4b6326945ffaf05fe6d58a269
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Thu Oct 6 16:42:50 2011 -0300
gladeui/glade-design-layout.c unref GtkStyleContext object used in glade_design_layout_style_updated()
gladeui/glade-design-layout.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gladeui/glade-design-layout.c b/gladeui/glade-design-layout.c
index 614efe3..9b2b582 100644
--- a/gladeui/glade-design-layout.c
+++ b/gladeui/glade-design-layout.c
@@ -1744,6 +1744,8 @@ glade_design_layout_style_updated (GtkWidget *widget)
&priv->frame_color_active[1]);
gtk_widget_override_background_color (widget, GTK_STATE_FLAG_NORMAL, &bg_color);
+
+ g_object_unref (context);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]