aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2002-08-15 23:23:17 +0800
committerMike Kestner <mkestner@src.gnome.org>2002-08-15 23:23:17 +0800
commit48c16713cc652c6fc6b9ea1fa302c22d6cc3da04 (patch)
treef85b152c124471697028a52d643231e1158f5910 /widgets/menus
parent419fb428ad227bd3bfc63076c46bc81afd98c3b8 (diff)
downloadgsoc2013-evolution-48c16713cc652c6fc6b9ea1fa302c22d6cc3da04.tar.gz
gsoc2013-evolution-48c16713cc652c6fc6b9ea1fa302c22d6cc3da04.tar.zst
gsoc2013-evolution-48c16713cc652c6fc6b9ea1fa302c22d6cc3da04.zip
ref/unref the gvm
2002-08-15 Mike Kestner <mkestner@ximian.com> * menus/gal-view-menus.c (build_stuff): ref/unref the gvm svn path=/trunk/; revision=17780
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-view-menus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c
index aa73e8ac32..1595e6f144 100644
--- a/widgets/menus/gal-view-menus.c
+++ b/widgets/menus/gal-view-menus.c
@@ -433,6 +433,8 @@ build_stuff (GalViewMenus *gvm,
{
char *xml;
+ gtk_object_ref (gvm);
+
gal_view_menus_unmerge (gvm, ev);
remove_listeners(gvm);
@@ -444,6 +446,8 @@ build_stuff (GalViewMenus *gvm,
bonobo_ui_component_add_verb_list_with_data(gvm->priv->component, verbs, gvm);
set_radio (gvm, ev);
+
+ gtk_object_unref (gvm);
}
void