aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-05-15 02:42:38 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-05-15 02:42:38 +0800
commitd49d8a2f15034c24cc67ac3922570d95643c39a5 (patch)
treeea378a046a9f06a318300559ac57d2b7d22a9006 /widgets/menus
parentbd1f703edbe882894fb5901d5f8d206dec5e3079 (diff)
downloadgsoc2013-evolution-d49d8a2f15034c24cc67ac3922570d95643c39a5.tar
gsoc2013-evolution-d49d8a2f15034c24cc67ac3922570d95643c39a5.tar.gz
gsoc2013-evolution-d49d8a2f15034c24cc67ac3922570d95643c39a5.tar.bz2
gsoc2013-evolution-d49d8a2f15034c24cc67ac3922570d95643c39a5.tar.lz
gsoc2013-evolution-d49d8a2f15034c24cc67ac3922570d95643c39a5.tar.xz
gsoc2013-evolution-d49d8a2f15034c24cc67ac3922570d95643c39a5.tar.zst
gsoc2013-evolution-d49d8a2f15034c24cc67ac3922570d95643c39a5.zip
guard against multiple destroys
2003-05-14 JP Rosevear <jpr@ximian.com> * e-combo-button.c (impl_destroy): guard against multiple destroys 2003-05-14 JP Rosevear <jpr@ximian.com> * menus/gal-view-menus.c (gvm_finalize): unref the component svn path=/trunk/; revision=21178
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-view-menus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c
index 738c8b89be..dcd911d568 100644
--- a/widgets/menus/gal-view-menus.c
+++ b/widgets/menus/gal-view-menus.c
@@ -148,6 +148,9 @@ gvm_finalize (GObject *object)
gal_view_menus_unmerge (gvm, NULL);
+ if (gvm->priv->component)
+ bonobo_object_unref (gvm->priv->component);
+
if (gvm->priv->define_views_dialog)
g_object_weak_unref (G_OBJECT (gvm->priv->define_views_dialog), clear_define_views_dialog, gvm);