[evolution-patches] fix for the bug #313705 [calendar]



Hi,
   Have attached the patch.

thanks, Chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2801
diff -u -p -r1.2801 ChangeLog
--- ChangeLog	24 Aug 2005 03:07:48 -0000	1.2801
+++ ChangeLog	24 Aug 2005 10:09:42 -0000
@@ -1,3 +1,10 @@
+2005-08-24  Chenthill Palanisamy  <pchenthill novell com>
+
+	Fixes #313705
+	* gui/alarm-notify/Makefile.am: Added CAMEL_LIBS.
+	* gui/alarm-notify/notify-main.c: (main): Initialize
+	the camel object.
+
 2005-08-23  Not Zed  <NotZed Ximian com>
 
 	* gui/e-cal-config.h: source-type is an enum not a pointer!
Index: gui/alarm-notify/Makefile.am
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/Makefile.am,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile.am
--- gui/alarm-notify/Makefile.am	27 Jun 2005 00:43:07 -0000	1.42
+++ gui/alarm-notify/Makefile.am	24 Aug 2005 10:09:42 -0000
@@ -50,6 +50,7 @@ evolution_alarm_notify_LDADD =						\
 	$(top_builddir)/e-util/libeutil.la				\
 	$(top_builddir)/widgets/misc/libemiscwidgets.la			\
 	$(top_builddir)/calendar/common/libevolution-calendarprivate.la	\
+	$(CAMEL_LIBS)							\
 	$(EVOLUTION_CALENDAR_LIBS)
 
 server_in_files = GNOME_Evolution_Calendar_AlarmNotify.server.in.in
Index: gui/alarm-notify/notify-main.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/notify-main.c,v
retrieving revision 1.45
diff -u -p -r1.45 notify-main.c
--- gui/alarm-notify/notify-main.c	28 Feb 2005 23:38:48 -0000	1.45
+++ gui/alarm-notify/notify-main.c	24 Aug 2005 10:09:42 -0000
@@ -44,6 +44,7 @@
 #include "alarm-queue.h"
 #include "alarm-notify.h"
 #include "config-data.h"
+#include <camel/camel-object.h>
 
 
 
@@ -152,6 +153,11 @@ main (int argc, char **argv)
 	init_session ();
 
 	g_idle_add ((GSourceFunc) init_alarm_service, NULL);
+
+	/* FIXME Ideally we should not use camel libraries in calendar, though it is the case
+	   currently for attachments. Remove this once that is fixed. 
+	   Initialise global camel_object_type */
+	camel_object_get_type();
 
 	bonobo_main ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]