aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-05-20 19:54:59 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-05-20 19:54:59 +0800
commit2913c7ef314431dbb93135e80d9fc228fe83f9de (patch)
tree9683ff9597736faed2062d9be6aaac84f22d00d2
parentae26cd403a0cba0ac0b52c208887b5db909922be (diff)
downloadgsoc2013-evolution-2913c7ef314431dbb93135e80d9fc228fe83f9de.tar
gsoc2013-evolution-2913c7ef314431dbb93135e80d9fc228fe83f9de.tar.gz
gsoc2013-evolution-2913c7ef314431dbb93135e80d9fc228fe83f9de.tar.bz2
gsoc2013-evolution-2913c7ef314431dbb93135e80d9fc228fe83f9de.tar.lz
gsoc2013-evolution-2913c7ef314431dbb93135e80d9fc228fe83f9de.tar.xz
gsoc2013-evolution-2913c7ef314431dbb93135e80d9fc228fe83f9de.tar.zst
gsoc2013-evolution-2913c7ef314431dbb93135e80d9fc228fe83f9de.zip
set 'initialized' to TRUE when initialization is done, or we get the
2003-05-19 Rodrigo Moya <rodrigo@ximian.com> * gui/main.c (factory): set 'initialized' to TRUE when initialization is done, or we get the initialization code called over and over. svn path=/trunk/; revision=21274
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/main.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 6edbd0cc99..f51b603f04 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-19 Rodrigo Moya <rodrigo@ximian.com>
+
+ * gui/main.c (factory): set 'initialized' to TRUE when initialization
+ is done, or we get the initialization code called over and over.
+
2003-05-19 Anna Marie Dirks <anna@ximian.com>
* gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index f0534adbd1..a15c0ef846 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -150,8 +150,10 @@ factory (BonoboGenericFactory *factory,
{
static gboolean initialized = FALSE;
- if (! initialized)
+ if (! initialized) {
initialize ();
+ initialized = TRUE;
+ }
if (strcmp (component_id, CALENDAR_COMPONENT_ID) == 0)
return calendar_component_get_object ();