summaryrefslogtreecommitdiff
path: root/tests/examples/seek/jsseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/seek/jsseek.c')
-rw-r--r--tests/examples/seek/jsseek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c
index 7e407d01e..83d54d650 100644
--- a/tests/examples/seek/jsseek.c
+++ b/tests/examples/seek/jsseek.c
@@ -3024,6 +3024,7 @@ main (int argc, char **argv)
{
GIOChannel *js_watch = g_io_channel_unix_new (js_fd);
+ g_io_channel_set_encoding (js_watch, NULL, NULL);
g_io_add_watch (js_watch, G_IO_IN, read_joystick, NULL);
}