summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--THANKS1
-rw-r--r--src/about.c1
-rw-r--r--src/calendar.c2
-rw-r--r--src/fileselection.c6
-rw-r--r--src/text.c2
-rw-r--r--src/tree.c4
7 files changed, 18 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 566f66a..696639e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/THANKS b/THANKS
index 1544f6b..44d2dae 100644
--- a/THANKS
+++ b/THANKS
@@ -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 22a0a41..bb67581 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 e2d94ff..36b3fe4 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 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);
diff --git a/src/text.c b/src/text.c
index 0afe269..0cf992c 100644
--- a/src/text.c
+++ b/src/text.c
@@ -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 ();
diff --git a/src/tree.c b/src/tree.c
index 80562d8..73e9565 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -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);