goffice r2248 - in trunk: . goffice/gtk
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2248 - in trunk: . goffice/gtk
- Date: Thu, 23 Oct 2008 18:10:23 +0000 (UTC)
Author: mortenw
Date: Thu Oct 23 18:10:23 2008
New Revision: 2248
URL: http://svn.gnome.org/viewvc/goffice?rev=2248&view=rev
Log:
2008-10-23 Morten Welinder <terra gnome org>
* goffice/gtk/go-action-combo-color.c
(go_action_combo_color_create_tool_item): Plug leak.
Modified:
trunk/ChangeLog
trunk/goffice/gtk/go-action-combo-color.c
Modified: trunk/goffice/gtk/go-action-combo-color.c
==============================================================================
--- trunk/goffice/gtk/go-action-combo-color.c (original)
+++ trunk/goffice/gtk/go-action-combo-color.c Thu Oct 23 18:10:23 2008
@@ -187,6 +187,7 @@
tool->combo = (GOComboColor *)go_combo_color_new (icon,
caction->default_val_label, caction->default_val,
caction->color_group);
+ if (icon) g_object_unref (icon);
go_combo_color_set_instant_apply (GO_COMBO_COLOR (tool->combo), TRUE);
go_combo_box_set_relief (GO_COMBO_BOX (tool->combo), GTK_RELIEF_NONE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]