From 48c16713cc652c6fc6b9ea1fa302c22d6cc3da04 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Thu, 15 Aug 2002 15:23:17 +0000 Subject: ref/unref the gvm 2002-08-15 Mike Kestner * menus/gal-view-menus.c (build_stuff): ref/unref the gvm svn path=/trunk/; revision=17780 --- widgets/menus/gal-view-menus.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'widgets/menus') 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 -- cgit v1.2.3