aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMichael Meeks <mmeeks@src.gnome.org>2000-08-04 11:09:01 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-08-04 11:09:01 +0800
commit623b1de43d610df7dc767153aed62ec7e40894a6 (patch)
tree4cd922f361d734fc17215c45e161aaf6dc73e5da /addressbook
parent8ec2a002e8f98c11836ca0fd0924d84a65018908 (diff)
downloadgsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.tar
gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.tar.gz
gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.tar.bz2
gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.tar.lz
gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.tar.xz
gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.tar.zst
gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.zip
Everywhere unref the remote_uih having done a set_container.
svn path=/trunk/; revision=4524
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/demo/addressbook.c1
-rw-r--r--addressbook/gui/component/addressbook.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index f0d9f72438..7e3cc004fc 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2000-08-04 Michael Meeks <michael@helixcode.com>
+
+ * gui/component/addressbook.c (control_activate): unref.
+
+ * demo/addressbook.c (control_activate): unref.
+
2000-08-02 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c,
diff --git a/addressbook/demo/addressbook.c b/addressbook/demo/addressbook.c
index 38cb6c7121..b273788118 100644
--- a/addressbook/demo/addressbook.c
+++ b/addressbook/demo/addressbook.c
@@ -98,6 +98,7 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih)
remote_uih = bonobo_control_get_remote_ui_handler (control);
bonobo_ui_handler_set_container (uih, remote_uih);
+ bonobo_object_release_unref (remote_uih, NULL);
bonobo_ui_handler_menu_new_item (uih, "/Actions/New Contact", N_("_New Contact"),
NULL, -1,
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index a4ca8358f3..bf2b054280 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -485,6 +485,7 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih,
remote_uih = bonobo_control_get_remote_ui_handler (control);
bonobo_ui_handler_set_container (uih, remote_uih);
+ bonobo_object_release_unref (remote_uih, NULL);
bonobo_ui_handler_menu_new_separator (uih, "/View/<sep>", -1);