summaryrefslogtreecommitdiff
path: root/src/fileselection.c
diff options
context:
space:
mode:
authorKevin C. Krinke <kckrinke@opendoorsoftware.com>2003-07-13 23:03:18 +0000
committerGlynn Foster <gman@src.gnome.org>2003-07-13 23:03:18 +0000
commit652c90596e2c4fff6b7b748afcb01df6e21d22d9 (patch)
treea6de3c96a74723c5c7dfa30939494ca4e7de3f07 /src/fileselection.c
parentb0c4853c442b4a5a2e06ed3ed02bd893a58f2ae8 (diff)
user input data output to STDOUT via g_print instead of outputting to
2003-07-11 Kevin C. Krinke <kckrinke@opendoorsoftware.com> * src/calendar.c, src/entry.c, src/fileselection.c, src/text.c, src/tree.c: user input data output to STDOUT via g_print instead of outputting to STDERR via g_printerr. This makes it possible to destinguish user input data from GTK+ warnings / errors. * THANKS, src/about.c: I figure this is my second patch submission so I belong in the credits...
Diffstat (limited to 'src/fileselection.c')
-rw-r--r--src/fileselection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fileselection.c b/src/fileselection.c
index d392b0d..cfc966f 100644
--- a/src/fileselection.c
+++ b/src/fileselection.c
@@ -86,11 +86,11 @@ zenity_fileselection_dialog_response (GtkWidget *widget, int response, gpointer
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK);
selections = gtk_file_selection_get_selections (GTK_FILE_SELECTION (widget));
for (i=0;selections[i] != NULL; i++) {
- g_printerr ("%s", g_filename_to_utf8 ((gchar*)selections[i], -1, NULL, NULL, NULL));
+ g_print ("%s", g_filename_to_utf8 ((gchar*)selections[i], -1, NULL, NULL, NULL));
if (selections[i+1] != NULL)
- g_printerr ("%s",separator);
+ g_print ("%s",separator);
}
- g_printerr("\n");
+ g_print("\n");
g_strfreev(selections);
g_free(separator);