diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2008-08-14 17:10:01 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2008-08-14 17:10:01 +0800 |
commit | 63376bd6f23bd75e29c8bdeec521cca8e24f1cd5 (patch) | |
tree | 8d95fdc06365a91735aff1bebe8ce53c6d3b39c0 /calendar/gui | |
parent | 62e25bf5b8b54daf78b49d8055e8c7b90138ae4b (diff) | |
download | gsoc2013-evolution-63376bd6f23bd75e29c8bdeec521cca8e24f1cd5.tar gsoc2013-evolution-63376bd6f23bd75e29c8bdeec521cca8e24f1cd5.tar.gz gsoc2013-evolution-63376bd6f23bd75e29c8bdeec521cca8e24f1cd5.tar.bz2 gsoc2013-evolution-63376bd6f23bd75e29c8bdeec521cca8e24f1cd5.tar.lz gsoc2013-evolution-63376bd6f23bd75e29c8bdeec521cca8e24f1cd5.tar.xz gsoc2013-evolution-63376bd6f23bd75e29c8bdeec521cca8e24f1cd5.tar.zst gsoc2013-evolution-63376bd6f23bd75e29c8bdeec521cca8e24f1cd5.zip |
Fixed some warnings.
2008-08-17 Chenthill Palanisamy <pchenthill@novell.com>
* gui/dialogs/event-page.c: (source_changed_cb):
* gui/dialogs/memo-page.c: (source_changed_cb):
* gui/e-cal-model.c: (e_cal_model_set_timezone),
(e_cal_view_done_cb):
* gui/e-day-view-config.c: Fixed some warnings.
svn path=/trunk/; revision=35987
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/memo-page.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-cal-model.c | 5 | ||||
-rw-r--r-- | calendar/gui/e-day-view-config.c | 11 |
4 files changed, 4 insertions, 16 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 3f30617be6..81d5878932 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -2562,8 +2562,8 @@ source_changed_cb (ESourceComboBox *source_combo_box, EventPage *epage) return; editor = comp_editor_page_get_editor (COMP_EDITOR_PAGE (epage)); - client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT); source = e_source_combo_box_get_active (source_combo_box); + client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_EVENT); if (client) { icaltimezone *zone; diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 9f3e5d85d4..b8822cee15 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -826,8 +826,8 @@ source_changed_cb (ESourceComboBox *source_combo_box, editor = comp_editor_page_get_editor (COMP_EDITOR_PAGE (mpage)); flags = comp_editor_get_flags (editor); - client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_JOURNAL); source = e_source_combo_box_get_active (source_combo_box); + client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_JOURNAL); if (!client || !e_cal_open (client, FALSE, NULL)) { GtkWidget *dialog; diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index ce34884c34..818015cade 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1115,7 +1115,6 @@ void e_cal_model_set_timezone (ECalModel *model, icaltimezone *zone) { ECalModelPrivate *priv; - GList *l; g_return_if_fail (E_IS_CAL_MODEL (model)); @@ -1522,7 +1521,6 @@ e_cal_view_done_cb (ECalView *query, ECalendarStatus status, gpointer user_data) { ECalModel *model = (ECalModel *) user_data; ECal *client = e_cal_view_get_client (query); - ECalModelPrivate *priv = model->priv; g_return_if_fail (E_IS_CAL_MODEL (model)); @@ -2088,6 +2086,7 @@ e_cal_model_date_value_to_string (ECalModel *model, const void *value) return g_strdup (buffer); } +/* FIXME is it still needed ? static ECellDateEditValue * copy_ecdv (ECellDateEditValue *ecdv) { @@ -2098,7 +2097,7 @@ copy_ecdv (ECellDateEditValue *ecdv) new_ecdv->zone = ecdv ? ecdv->zone : NULL; return new_ecdv; -} +} */ struct _ECalModelComponentPrivate { diff --git a/calendar/gui/e-day-view-config.c b/calendar/gui/e-day-view-config.c index 0e961eeda8..f11212f896 100644 --- a/calendar/gui/e-day-view-config.c +++ b/calendar/gui/e-day-view-config.c @@ -145,17 +145,6 @@ e_day_view_config_get_view (EDayViewConfig *view_config) } static void -timezone_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data) -{ - EDayViewConfig *view_config = data; - EDayViewConfigPrivate *priv; - - priv = view_config->priv; - - set_timezone (priv->view); -} - -static void set_week_start (EDayView *day_view) { int week_start_day; |