diff options
Diffstat (limited to 'widgets/e-text/e-text-test.c')
-rw-r--r-- | widgets/e-text/e-text-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/e-text/e-text-test.c b/widgets/e-text/e-text-test.c index 12a31cce7e..45fa1fc3d7 100644 --- a/widgets/e-text/e-text-test.c +++ b/widgets/e-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); |