aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/text/e-text-test.c b/widgets/text/e-text-test.c
index 12a31cce7e..45fa1fc3d7 100644
--- a/widgets/text/e-text-test.c
+++ b/widgets/text/e-text-test.c
@@ -8,6 +8,7 @@
#include "e-text.h"
#include <gnome.h>
#include "e-util/e-canvas.h"
+#include "e-util/e-unicode.h"
GnomeCanvasItem *rect;
static void allocate_callback(GtkWidget *canvas, GtkAllocation *allocation, GnomeCanvasItem *item)
@@ -55,7 +56,7 @@ change_text_cb (GtkEntry *entry,
{
gchar *str;
- str = gtk_entry_get_text (entry);
+ str = e_utf8_gtk_entry_get_text (entry);
gnome_canvas_item_set (GNOME_CANVAS_ITEM (text),
"text", str,
NULL);