aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/save-calendar')
-rw-r--r--plugins/save-calendar/ChangeLog5
-rw-r--r--plugins/save-calendar/save-calendar.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/plugins/save-calendar/ChangeLog b/plugins/save-calendar/ChangeLog
index 362f8ea9a2..bb985b71ed 100644
--- a/plugins/save-calendar/ChangeLog
+++ b/plugins/save-calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-21 JP Rosevear <jpr@novell.com>
+
+ * save-calendar.c (do_save_calendar): compile if not using file
+ chooser
+
2004-10-21 Rodrigo Moya <rodrigo@novell.com>
* org-gnome-save-calendar.eplug.in: better menu items.
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)