aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar/save-calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/save-calendar/save-calendar.c')
-rw-r--r--plugins/save-calendar/save-calendar.c4
1 files changed, 2 insertions, 2 deletions
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)