[evolution-patches] patch for startup warning in calendar



fixes a glib warning.


Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1719
diff -u -r1.1719 ChangeLog
--- ChangeLog	8 Apr 2003 15:00:43 -0000	1.1719
+++ ChangeLog	9 Apr 2003 07:48:59 -0000
@@ -1,3 +1,9 @@
+2003-04-09  Chris Toshok  <toshok ximian com>
+
+	* pcs/cal-backend.c (cal_backend_class_init): use G_TYPE_INT
+	instead of G_TYPE_ENUM as a parameter type for the signal to get
+	rid of runtime warning.
+
 2003-04-08  JP Rosevear  <jpr ximian com>
 
 	Fixes #40894
Index: pcs/cal-backend.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/pcs/cal-backend.c,v
retrieving revision 1.91
diff -u -r1.91 cal-backend.c
--- pcs/cal-backend.c	7 Apr 2003 19:56:41 -0000	1.91
+++ pcs/cal-backend.c	9 Apr 2003 07:48:59 -0000
@@ -146,7 +146,7 @@
 			      NULL, NULL,
 			      g_cclosure_marshal_VOID__ENUM,
 			      G_TYPE_NONE, 1,
-			      G_TYPE_ENUM);
+			      G_TYPE_INT);
 	cal_backend_signals[OBJ_UPDATED] =
 		g_signal_new ("obj_updated",
 			      G_TYPE_FROM_CLASS (class),


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