From d201f25c8a7000ae6c45a6b5bc61d5b56878514d Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 21 Oct 2004 04:11:04 +0000 Subject: compile if not using file chooser 2004-10-21 JP Rosevear * save-calendar.c (do_save_calendar): compile if not using file chooser svn path=/trunk/; revision=27668 --- plugins/save-calendar/save-calendar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/save-calendar/save-calendar.c') diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index 4ecb5df968..227613969a 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -50,7 +50,7 @@ do_save_calendar (EPlugin *ep, ECalPopupTargetSource *target, ECalSourceType typ char *dest_uri; ECal *source_client, *dest_client; GtkWidget *dialog; - + primary_source = e_source_selector_peek_primary_selection (target->selector); /* ask the user for destination file */ @@ -74,7 +74,7 @@ do_save_calendar (EPlugin *ep, ECalPopupTargetSource *target, ECalSourceType typ #ifdef USE_GTKFILECHOOSER dest_uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog)); #else - dest_uri = g_strdup (gtk_file_selection_get_filename (GTK_FILE_SELECTION (filesel))); + dest_uri = g_strdup (gtk_file_selection_get_filename (GTK_FILE_SELECTION (dialog))); #endif gtk_widget_destroy (dialog); if (!dest_uri) -- cgit