aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-etable.c
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-06-24 03:11:46 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-06-24 03:11:46 +0800
commit2bebec36f0c05956ca41e4ec5889f19081b52408 (patch)
tree43f75573d9942d4889b6798371df4d542598d750 /widgets/menus/gal-view-etable.c
parentec6e839442cb297aa930a3761494d1de139e44e1 (diff)
downloadgsoc2013-evolution-2bebec36f0c05956ca41e4ec5889f19081b52408.tar.gz
gsoc2013-evolution-2bebec36f0c05956ca41e4ec5889f19081b52408.tar.zst
gsoc2013-evolution-2bebec36f0c05956ca41e4ec5889f19081b52408.zip
fix string duplication and refcounting problems.
2003-06-23 Larry Ewing <lewing@ximian.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): fix string duplication and refcounting problems. 2003-06-20 Larry Ewing <lewing@ximian.com> * gal-view-etable.c (config_changed): unref after g_object_get adds a ref. svn path=/trunk/; revision=21516
Diffstat (limited to 'widgets/menus/gal-view-etable.c')
-rw-r--r--widgets/menus/gal-view-etable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/menus/gal-view-etable.c b/widgets/menus/gal-view-etable.c
index a881b52bab..a46368559e 100644
--- a/widgets/menus/gal-view-etable.c
+++ b/widgets/menus/gal-view-etable.c
@@ -67,6 +67,8 @@ config_changed (ETableConfig *config, GalViewEtable *view)
"state", &state,
NULL);
view->state = e_table_state_duplicate(state);
+ g_object_unref (state);
+
gal_view_changed(GAL_VIEW(view));
}