aboutsummaryrefslogtreecommitdiffstats
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
parent419fb428ad227bd3bfc63076c46bc81afd98c3b8 (diff)
downloadgsoc2013-evolution-48c16713cc652c6fc6b9ea1fa302c22d6cc3da04.tar
gsoc2013-evolution-48c16713cc652c6fc6b9ea1fa302c22d6cc3da04.tar.gz
gsoc2013-evolution-48c16713cc652c6fc6b9ea1fa302c22d6cc3da04.tar.bz2
gsoc2013-evolution-48c16713cc652c6fc6b9ea1fa302c22d6cc3da04.tar.lz
gsoc2013-evolution-48c16713cc652c6fc6b9ea1fa302c22d6cc3da04.tar.xz
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
-rw-r--r--widgets/ChangeLog4
-rw-r--r--widgets/menus/gal-view-menus.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 80ffca1cf9..d96c40de8e 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-15 Mike Kestner <mkestner@ximian.com>
+
+ * menus/gal-view-menus.c (build_stuff): ref/unref the gvm
+
2002-07-09 Peter Williams <peterw@ximian.com>
* e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical;
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