aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/supported_protos_dlg.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-08-27 05:17:40 +0000
committerBill Meier <wmeier@newsguy.com>2009-08-27 05:17:40 +0000
commitdb04e3941f6a5d34350618ca9e5a5b74b4884491 (patch)
tree4c4d2ef1fa6f9b3c8d22a71999cd48f67ba560d7 /gtk/supported_protos_dlg.c
parent5417edcfdc2476f9df5344d2d0c6952314553811 (diff)
Add #include <stdio.h>
svn path=/trunk/; revision=29581
Diffstat (limited to 'gtk/supported_protos_dlg.c')
-rw-r--r--gtk/supported_protos_dlg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/supported_protos_dlg.c b/gtk/supported_protos_dlg.c
index 5ddc36d78b..a1a0cc1530 100644
--- a/gtk/supported_protos_dlg.c
+++ b/gtk/supported_protos_dlg.c
@@ -26,6 +26,8 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+
+#include <stdio.h>
#include <string.h>
#include <gtk/gtk.h>
@@ -185,7 +187,7 @@ static void insert_text(GtkWidget *w, const char *buffer, int nchars)
gtk_text_buffer_get_end_iter(buf, &iter);
gtk_widget_modify_font(w, user_font_get_regular());
if (!g_utf8_validate(buffer, -1, NULL))
- printf("Invalid utf8 encoding: %s\n", buffer);
+ printf("Invalid utf8 encoding: %s\n", buffer); /* ToDo: Don't use printf ?? */
gtk_text_buffer_insert(buf, &iter, buffer, nchars);
}