aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-10-29 23:41:47 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-10-29 23:41:47 +0800
commit26f77b16e1f8a3207554e607e2ee18bb7b14c97d (patch)
tree91eaf2ffa63b732a4888afcac459faab263648da /calendar/gui/tasks-component.c
parent6c743503b1f747c50e28c05aed4ad4c620a3912e (diff)
downloadgsoc2013-evolution-26f77b16e1f8a3207554e607e2ee18bb7b14c97d.tar.gz
gsoc2013-evolution-26f77b16e1f8a3207554e607e2ee18bb7b14c97d.tar.zst
gsoc2013-evolution-26f77b16e1f8a3207554e607e2ee18bb7b14c97d.zip
no need to update config settings everywhere explicitly
2003-10-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (update_config): no need to update config settings everywhere explicitly * gui/tasks-component.c (update_uris_for_selection): cast the widget * gui/gnome-cal.h: remove proto * gui/gnome-cal.c (setup_widgets): don't update config settings explicitly (gnome_calendar_update_config_settings): kill * gui/e-week-view.c: remove null chars * gui/e-tasks.h: remove proto * gui/e-tasks.c (set_timezone): set the timezone on the client (timezone_changed_cb): changed timezone callback (setup_config): setup config stuff (e_tasks_init): setup config and widgets here (e_tasks_new): construct is dead, no need to track all widgets (cal_opened_cb): set the timezone upon opening (e_tasks_update_all_config_settings): kill * gui/control-factory.c (control_factory_new_control): create the calendar ourselves * gui/calendar-config.c (on_timezone_set): don't update the settings everywhere here, we have config managers now * gui/calendar-component.c (impl_createControls): create the calendar ourselves * gui/calendar-commands.h: remove protos * gui/calendar-commands.c: remove dead functions svn path=/trunk/; revision=23117
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index bb9d0fe46f..a6b7062b9c 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -118,13 +118,13 @@ update_uris_for_selection (ESourceSelector *selector, TasksComponent *component)
ESource *old_selected_source = l->data;
if (!is_in_selection (selection, old_selected_source))
- remove_uri_for_source (old_selected_source, priv->tasks);
+ remove_uri_for_source (old_selected_source, E_TASKS (priv->tasks));
}
for (l = selection; l; l = l->next) {
ESource *selected_source = l->data;
- add_uri_for_source (selected_source, priv->tasks);
+ add_uri_for_source (selected_source, E_TASKS (priv->tasks));
}
e_source_selector_free_selection (priv->source_selection);