diff options
author | JP Rosevear <jpr@ximian.com> | 2001-06-02 07:31:59 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-06-02 07:31:59 +0800 |
commit | 58d8f86e64d42782ac80ec4ed40b5269a3493454 (patch) | |
tree | 535abfa127000e016504cb45a1c05838a89d3bc7 /calendar/gui/e-itip-control.c | |
parent | 06ebf6a67ec10e399ad041f666deb497924803cd (diff) | |
download | gsoc2013-evolution-58d8f86e64d42782ac80ec4ed40b5269a3493454.tar.gz gsoc2013-evolution-58d8f86e64d42782ac80ec4ed40b5269a3493454.tar.zst gsoc2013-evolution-58d8f86e64d42782ac80ec4ed40b5269a3493454.zip |
ditto
2001-06-01 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (e_itip_control_factory_init): ditto
* gui/tasks-control-factory.c (tasks_control_factory_init):
auto_exit_unref the factory
svn path=/trunk/; revision=10087
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r-- | calendar/gui/e-itip-control.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 473e033709..425155a9f4 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -33,6 +33,8 @@ #include <bonobo/bonobo-generic-factory.h> #include <bonobo/bonobo-persist-stream.h> #include <bonobo/bonobo-stream-client.h> +#include <bonobo/bonobo-running-context.h> + #include <glade/glade.h> #include <ical.h> #include <Evolution-Composer.h> @@ -1075,7 +1077,8 @@ e_itip_control_factory_init (void) factory = bonobo_generic_factory_new ( "OAFIID:GNOME_Evolution_Calendar_iTip_ControlFactory", e_itip_control_factory, NULL); - + bonobo_running_context_auto_exit_unref (BONOBO_OBJECT (factory));; + if (factory == NULL) g_error ("I could not register an iTip control factory."); } |