diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
commit | 0274669179600ac77475eed9870d2eab52c2cf14 (patch) | |
tree | 80f228649b670efac7f76ba5c0da5ed22a3a05c9 /plugins/save-calendar | |
parent | adb63f0f2156554a21dbfd8daba447001985e967 (diff) | |
download | gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.gz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.zst gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.zip |
Fix excessive whitespace.
Diffstat (limited to 'plugins/save-calendar')
-rw-r--r-- | plugins/save-calendar/csv-format.c | 10 | ||||
-rw-r--r-- | plugins/save-calendar/rdf-format.c | 5 | ||||
-rw-r--r-- | plugins/save-calendar/save-calendar.c | 4 |
3 files changed, 0 insertions, 19 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c index 4e59b80edd..b296bb9736 100644 --- a/plugins/save-calendar/csv-format.c +++ b/plugins/save-calendar/csv-format.c @@ -66,15 +66,12 @@ display_error_message (GtkWidget *parent, GError *error) gtk_widget_destroy (dialog); } - enum { /* CSV helper enum */ ECALCOMPONENTTEXT, ECALCOMPONENTATTENDEE, CONSTCHAR }; - - /* Some helpers for the csv stuff */ static GString * add_list_to_csv (GString *line, GSList *list_in, CsvConfig *config, gint type) @@ -202,7 +199,6 @@ string_needsquotes (const gchar *value, CsvConfig *config) needquotes = strstr (value, config->quote) ? TRUE:FALSE; } - /* * If the special-char is char+onespace (so like {, } {" }, {\n }) and it occurs * the value that is going to be written @@ -218,7 +214,6 @@ string_needsquotes (const gchar *value, CsvConfig *config) * first character of {, } and didn't trust the user). */ - if (!needquotes) { gint len = strlen (config->delimiter); if ((len == 2) && (config->delimiter[1] == ' ')) { @@ -521,10 +516,6 @@ do_save_calendar_csv (FormatHandler *handler, EPlugin *ep, ECalPopupTargetSource return; } - - - - static GtkWidget * create_options_widget (FormatHandler *handler) { @@ -570,7 +561,6 @@ create_options_widget (FormatHandler *handler) gtk_container_add (GTK_CONTAINER (csv_options), vbox); - return csv_options; } diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c index 685fbdd6e5..ff68dfcfe4 100644 --- a/plugins/save-calendar/rdf-format.c +++ b/plugins/save-calendar/rdf-format.c @@ -161,7 +161,6 @@ add_time_to_rdf (xmlNodePtr node, const gchar *tag, icaltimetype *time) } } - static void add_string_to_rdf (xmlNodePtr node, const gchar *tag, const gchar *value) { @@ -172,9 +171,6 @@ add_string_to_rdf (xmlNodePtr node, const gchar *tag, const gchar *value) } } - - - static void do_save_calendar_rdf (FormatHandler *handler, EPlugin *ep, ECalPopupTargetSource *target, ECalSourceType type, gchar *dest_uri) { @@ -332,7 +328,6 @@ do_save_calendar_rdf (FormatHandler *handler, EPlugin *ep, ECalPopupTargetSource e_cal_component_get_last_modified (comp, &temp_time); add_time_to_rdf (node, "lastModified",temp_time); - /* Important note! * The documentation is not requiring this! * diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index 6042de7d6f..119009f69e 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -50,7 +50,6 @@ void org_gnome_save_calendar (EPlugin *ep, ECalPopupTargetSource *target); void org_gnome_save_tasks (EPlugin *ep, ECalPopupTargetSource *target); void org_gnome_save_memos (EPlugin *ep, ECalPopupTargetSource *target); - static void extra_widget_foreach_hide (GtkWidget *widget, gpointer data) { @@ -74,7 +73,6 @@ on_type_combobox_changed (GtkComboBox *combobox, gpointer data) gtk_tree_model_get (model, &iter, DEST_HANDLER, &handler, -1); - if (handler->options_widget) { gtk_widget_show (handler->options_widget); @@ -154,7 +152,6 @@ ask_destination_and_save (EPlugin *ep, ECalPopupTargetSource *target, ECalSource format_handlers = g_list_next (format_handlers); } - g_signal_connect (G_OBJECT(combo), "changed", G_CALLBACK (on_type_combobox_changed), extra_widget); @@ -171,7 +168,6 @@ ask_destination_and_save (EPlugin *ep, ECalPopupTargetSource *target, ECalSource gtk_widget_show (GTK_WIDGET(combo)); gtk_widget_show (extra_widget); - if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) { gchar *tmp = NULL; |