diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | src/about.c | 1 | ||||
-rw-r--r-- | src/calendar.c | 2 | ||||
-rw-r--r-- | src/fileselection.c | 6 | ||||
-rw-r--r-- | src/text.c | 2 | ||||
-rw-r--r-- | src/tree.c | 4 |
7 files changed, 18 insertions, 7 deletions
@@ -1,3 +1,12 @@ +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... + 2003-07-10 John Fleck <jfleck@inkstain.net> * autogen.sh @@ -7,6 +7,7 @@ James Henstridge <james@daa.com.au> Mihai T. Lazarescu <mihai@email.it> Mike Newman <mike@gtnorthern.demon.co.uk> Havoc Pennington <hp@redhat.com> +Kevin C. Krinke <kckrinke@opendoorsoftware.com> Kristian Rietveld <kris@gtk.org> Jakub Steiner <jimmac@ximian.com> Danel d'Surreal <dagmar@speakeasy.net> diff --git a/src/about.c b/src/about.c index 22a0a41c..bb675819 100644 --- a/src/about.c +++ b/src/about.c @@ -58,6 +58,7 @@ static const gchar *author_credits[] = { "Mihai T. Lazarescu <mihai@email.it>", "Mike Newman <mikegtn@gnome.org>", "Havoc Pennington <hp@redhat.com>", + "Kevin C. Krinke <kckrinke@opendoorsoftware.com>", "Kristian Rietveld <kris@gtk.org>", "Jakub Steiner <jimmac@ximian.com>", "Daniel d'Surreal <dagmar@speakeasy.net>", diff --git a/src/calendar.c b/src/calendar.c index e2d94ffd..36b3fe4d 100644 --- a/src/calendar.c +++ b/src/calendar.c @@ -100,7 +100,7 @@ zenity_calendar_dialog_response (GtkWidget *widget, int response, gpointer data) gtk_calendar_get_date (GTK_CALENDAR (calendar), &day, &month, &year); date = g_date_new_dmy (year, month + 1, day); g_date_strftime (time_string, 127, zen_cal_data->date_format, date); - g_printerr ("%s\n", time_string); + g_print ("%s\n", time_string); if (date != NULL) g_date_free (date); diff --git a/src/fileselection.c b/src/fileselection.c index d392b0d0..cfc966f3 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); @@ -93,7 +93,7 @@ zenity_text_dialog_response (GtkWidget *widget, int response, gpointer data) GtkTextIter start, end; gtk_text_buffer_get_bounds (zen_text_data->buffer, &start, &end); - g_printerr (gtk_text_buffer_get_text (zen_text_data->buffer, &start, &end, 0)); + g_print (gtk_text_buffer_get_text (zen_text_data->buffer, &start, &end, 0)); } zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK); gtk_main_quit (); @@ -478,10 +478,10 @@ zenity_tree_dialog_output (void) for (tmp = selected; tmp; tmp = tmp->next) { if (tmp->next != NULL) { - g_printerr ("%s%s", (gchar *) tmp->data, separator); + g_print ("%s%s", (gchar *) tmp->data, separator); } else - g_printerr ("%s\n", (gchar *) tmp->data); + g_print ("%s\n", (gchar *) tmp->data); } g_free (separator); |