evolution r36282 - in trunk/calendar: . gui



Author: mcrha
Date: Tue Sep  9 09:06:46 2008
New Revision: 36282
URL: http://svn.gnome.org/viewvc/evolution?rev=36282&view=rev

Log:
2008-09-09  Milan Crha  <mcrha redhat com>

	** Fix for bug #551382

	* gui/e-week-view.c: (model_comps_deleted_cb):
	* gui/e-cal-model.c: (redo_queries):
	Get rid of unused variables.
	* gui/e-cal-model.c: (e_cal_view_objects_modified_cb):
	Use result of g_list_prepend, thus report changes properly.



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/gui/e-cal-model.c
   trunk/calendar/gui/e-week-view.c

Modified: trunk/calendar/gui/e-cal-model.c
==============================================================================
--- trunk/calendar/gui/e-cal-model.c	(original)
+++ trunk/calendar/gui/e-cal-model.c	Tue Sep  9 09:06:46 2008
@@ -1500,7 +1500,7 @@
 	/*  re-add only the recurrence objects */
 	for (l = objects; l != NULL; l = g_list_next (l)) {
 		if (e_cal_util_component_has_recurrences (l->data) && (priv->flags & E_CAL_MODEL_FLAGS_EXPAND_RECURRENCES)) 
-			g_list_prepend (list, l->data);
+			list = g_list_prepend (list, l->data);
 		else {
 			int pos;
 			ECalModelComponent *comp_data;
@@ -1865,7 +1865,7 @@
 {
 	ECalModelPrivate *priv;
 	GList *l;
-	GSList *sl, *slist;
+	GSList *slist;
 	int len;
 
 	priv = model->priv;

Modified: trunk/calendar/gui/e-week-view.c
==============================================================================
--- trunk/calendar/gui/e-week-view.c	(original)
+++ trunk/calendar/gui/e-week-view.c	Tue Sep  9 09:06:46 2008
@@ -404,7 +404,6 @@
 model_comps_deleted_cb (ETableModel *etm, gpointer data, gpointer user_data)
 {
 	EWeekView *week_view = E_WEEK_VIEW (user_data);
-	int i;
 	GSList *l, *list = data;
 
 	/* FIXME Stop editing? */



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