diff options
-rw-r--r-- | calendar/ChangeLog | 3 | ||||
-rw-r--r-- | calendar/gui/calendar-model.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 852d41d2ba..f497d96d65 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,8 @@ 2000-09-13 Federico Mena Quintero <federico@helixcode.com> + * gui/calendar-model.c (obj_updated_cb): Removed an unused + variable. + * gui/calendar-model.c (obj_updated_cb): See if the new object matches the type of objects we were told to deal with. (load_objects): Likewise. diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index 5a640fe515..7274c13e18 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -1517,7 +1517,6 @@ obj_updated_cb (CalClient *client, const char *uid, gpointer data) const char *new_comp_uid; int *new_idx; CalClientGetStatus status; - gboolean added; model = CALENDAR_MODEL (data); priv = model->priv; @@ -1526,8 +1525,6 @@ obj_updated_cb (CalClient *client, const char *uid, gpointer data) status = cal_client_get_object (priv->client, uid, &new_comp); - added = FALSE; - switch (status) { case CAL_CLIENT_GET_SUCCESS: /* Check if we are interested in this type of object */ |