diff options
author | Milan Crha <mcrha@redhat.com> | 2008-09-09 17:06:46 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-09-09 17:06:46 +0800 |
commit | 0ce029d8613205e1c49b771598cae8fe4ab514f9 (patch) | |
tree | ea9cad89770b82a2d2a71dbf66909bf60beaa482 /calendar | |
parent | 58faf35ecf90c2ea0594b6ee1df3d7f1986239cb (diff) | |
download | gsoc2013-evolution-0ce029d8613205e1c49b771598cae8fe4ab514f9.tar.gz gsoc2013-evolution-0ce029d8613205e1c49b771598cae8fe4ab514f9.tar.zst gsoc2013-evolution-0ce029d8613205e1c49b771598cae8fe4ab514f9.zip |
** Fix for bug #551382
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.
svn path=/trunk/; revision=36282
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 10 | ||||
-rw-r--r-- | calendar/gui/e-cal-model.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 1 |
3 files changed, 12 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 7f04a4c43b..92de5afd33 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,13 @@ +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. + 2008-09-08 Chenthill Palanisamy <pchenthill@novell.com> Fixes #544187 diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index d78e4f5dbc..0b476a4bd5 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1500,7 +1500,7 @@ e_cal_view_objects_modified_cb (ECalView *query, GList *objects, gpointer user_d /* 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 @@ redo_queries (ECalModel *model) { ECalModelPrivate *priv; GList *l; - GSList *sl, *slist; + GSList *slist; int len; priv = model->priv; diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 9e3ea5d30e..67dc931c68 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -404,7 +404,6 @@ static void 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? */ |