From d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Sat, 10 Jan 2004 20:19:08 +0000 Subject: added missing headers. 2003-01-10 Rodrigo Moya * 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 --- calendar/gui/migration.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/migration.c') diff --git a/calendar/gui/migration.c b/calendar/gui/migration.c index afb0a59b68..2809b59313 100644 --- a/calendar/gui/migration.c +++ b/calendar/gui/migration.c @@ -84,7 +84,8 @@ process_old_dir (ESourceGroup *source_group, const char *path, s = g_build_filename (path, "subfolders", NULL); dir = g_dir_open (s, 0, NULL); if (dir) { - const char *name, *tmp_s; + const char *name; + char *tmp_s; while ((name = g_dir_read_name (dir))) { tmp_s = g_build_filename (s, name, NULL); -- cgit