diff options
author | JP Rosevear <jpr@ximian.com> | 2001-05-09 03:44:46 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-05-09 03:44:46 +0800 |
commit | 6d353978e7f9ad61636d40f8713fa1b5c649ca54 (patch) | |
tree | d861145cd77af15b1ae02ee10999fd76baed4a2f /calendar/gui/e-itip-control.c | |
parent | 2bb791349c3eb9d7190816c4b38cab3d9efffc44 (diff) | |
download | gsoc2013-evolution-6d353978e7f9ad61636d40f8713fa1b5c649ca54.tar.gz gsoc2013-evolution-6d353978e7f9ad61636d40f8713fa1b5c649ca54.tar.zst gsoc2013-evolution-6d353978e7f9ad61636d40f8713fa1b5c649ca54.zip |
unref the property bag when we finish with it
2001-05-08 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (e_itip_control_factory): unref the
property bag when we finish with it
* gui/evolution-calendar-control.c (calendar_properties_init): ditto
* gui/control-factory.c (calendar_properties_init): ditto
* gui/calendar-summary.c (create_summary_view): ditto
svn path=/trunk/; revision=9719
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r-- | calendar/gui/e-itip-control.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 5e7df6b35c..473e033709 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -1038,13 +1038,14 @@ e_itip_control_factory (BonoboGenericFactory *Factory, void *closure) /* create a property bag */ prop_bag = bonobo_property_bag_new ( get_prop, set_prop, priv ); - bonobo_control_set_properties (control, prop_bag); - bonobo_property_bag_add (prop_bag, "from_address", FROM_ADDRESS_ARG_ID, BONOBO_ARG_STRING, NULL, "from_address", 0 ); bonobo_property_bag_add (prop_bag, "my_address", MY_ADDRESS_ARG_ID, BONOBO_ARG_STRING, NULL, "my_address", 0 ); + bonobo_control_set_properties (control, prop_bag); + bonobo_object_unref (BONOBO_OBJECT (prop_bag)); + bonobo_control_set_automerge (control, TRUE); stream = bonobo_persist_stream_new (pstream_load, pstream_save, |