aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-17 07:36:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-17 07:36:57 +0800
commit710bf5228834951eed958f27ffe309272d28cb21 (patch)
tree71ecb84dc45c3e2333ceeccec4daad234457ce0e /mail/mail-config-factory.c
parent3ffe85ae86cdb8bb24cc3e37c78d88636ee460d7 (diff)
downloadgsoc2013-evolution-710bf5228834951eed958f27ffe309272d28cb21.tar
gsoc2013-evolution-710bf5228834951eed958f27ffe309272d28cb21.tar.gz
gsoc2013-evolution-710bf5228834951eed958f27ffe309272d28cb21.tar.bz2
gsoc2013-evolution-710bf5228834951eed958f27ffe309272d28cb21.tar.lz
gsoc2013-evolution-710bf5228834951eed958f27ffe309272d28cb21.tar.xz
gsoc2013-evolution-710bf5228834951eed958f27ffe309272d28cb21.tar.zst
gsoc2013-evolution-710bf5228834951eed958f27ffe309272d28cb21.zip
Ref the prefs widget here since we unref in the destroy callback. Caught
2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * mail-config-factory.c (config_control_factory_cb): Ref the prefs widget here since we unref in the destroy callback. Caught this thanks to purify. svn path=/trunk/; revision=16481
Diffstat (limited to 'mail/mail-config-factory.c')
-rw-r--r--mail/mail-config-factory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-config-factory.c b/mail/mail-config-factory.c
index 17b75ed2e6..2e825b8b5a 100644
--- a/mail/mail-config-factory.c
+++ b/mail/mail-config-factory.c
@@ -87,6 +87,8 @@ config_control_factory_cb (BonoboGenericFactory *factory, const char *component_
}
data->prefs = prefs;
+ gtk_object_ref (GTK_OBJECT (prefs));
+
gtk_widget_show_all (prefs);
control = evolution_config_control_new (prefs);