aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-10-21 12:11:04 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-10-21 12:11:04 +0800
commitd201f25c8a7000ae6c45a6b5bc61d5b56878514d (patch)
treeb67da06612379ab9c3d84b1fce78834e98a1172e
parent1a53fc712dcfe17ad2f83744756e777137333441 (diff)
downloadgsoc2013-evolution-d201f25c8a7000ae6c45a6b5bc61d5b56878514d.tar
gsoc2013-evolution-d201f25c8a7000ae6c45a6b5bc61d5b56878514d.tar.gz
gsoc2013-evolution-d201f25c8a7000ae6c45a6b5bc61d5b56878514d.tar.bz2
gsoc2013-evolution-d201f25c8a7000ae6c45a6b5bc61d5b56878514d.tar.lz
gsoc2013-evolution-d201f25c8a7000ae6c45a6b5bc61d5b56878514d.tar.xz
gsoc2013-evolution-d201f25c8a7000ae6c45a6b5bc61d5b56878514d.tar.zst
gsoc2013-evolution-d201f25c8a7000ae6c45a6b5bc61d5b56878514d.zip
compile if not using file chooser
2004-10-21 JP Rosevear <jpr@novell.com> * save-calendar.c (do_save_calendar): compile if not using file chooser svn path=/trunk/; revision=27668
-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)