aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-01-11 04:19:08 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-01-11 04:19:08 +0800
commitd6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5 (patch)
tree92597e29ba83f7b518d4062214a413a0dc48dd65 /calendar/gui/calendar-component.c
parent2fd22d547c519e90f3dc6850d2235e122964f477 (diff)
downloadgsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.tar.gz
gsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.tar.zst
gsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.zip
added missing headers.
2003-01-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c: added missing headers. * gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar): use the correct variable when calling alarm_queue_remove_client(). * gui/calendar-component.c (impl_upgradeFromVersion): removed redundant variable declarations. * gui/migration.c (process_old_dir): * gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate): * gui/e-date-time-list.c (e_date_time_list_finalize): * gui/e-alarm-list.c (e_alarm_list_finalize): fixed warnings. * gui/e-calendar-table.c: added missing prototypes at the top to avoid warnings. * gui/e-week-view.c (e_week_view_scroll_a_step): * gui/e-day-view.c (e_day_view_event_move): directly return in the default: case. * gui/e-tasks.c (setup_widgets): connect to changes on the model. (model_row_changed_cb): callback to update the HTML detailed view when the currently selected task changes. (client_obj_updated_cb): removed unused function. (set_status_message): changed to accept a variable list of arguments. (e_tasks_add_todo_uri): display status messages and get error message from backend and display it in a dialog. (cal_opened_cb, load_error, method_error, permission_error): removed unused functions. * gui/gnome-cal.c (open_ecal): added a GnomeCalendar argument, and display status messages. (gnome_calendar_construct, gnome_calendar_add_event_source): adapted to changes in open_ecal(). svn path=/trunk/; revision=24147
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index c7eaec9570..7f3b686def 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -557,11 +557,7 @@ impl_upgradeFromVersion (PortableServer_Servant servant,
/* create calendar for birthdays & anniversaries */
if ((major < 0) ||
((major == 1) && (minor < 5)) ||
- ((major == 1) && (minor == 5) && (revision < 2))) {
- ESourceGroup *group;
- ESource *source;
- char *base_uri, *new_dir;
-
+ ((major == 1) && (minor == 5) && (revision < 2))) {
group = e_source_group_new (_("Contacts"), "contacts://");
source = e_source_new (_("Birthdays & Anniversaries"), "/");
e_source_group_add_source (group, source, -1);
@@ -573,10 +569,7 @@ impl_upgradeFromVersion (PortableServer_Servant servant,
/* create calendar for birthdays & anniversaries */
if ((major < 0) ||
((major == 1) && (minor < 5)) ||
- ((major == 1) && (minor == 5) && (revision < 2))) {
- ESource *source;
- char *base_uri, *new_dir;
-
+ ((major == 1) && (minor == 5) && (revision < 2))) {
group = e_source_group_new (_("Birthdays"), "contacts://");
source = e_source_new (_("Birthdays & Anniversaries"), "/");
e_source_group_add_source (group, source, -1);