summaryrefslogtreecommitdiff
path: root/testsuite/gdk/encoding.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-12-28 08:53:22 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-12-28 18:57:55 -0500
commit1ae7240932cd1be164c5dc94f8767afa541f1e83 (patch)
tree322700689717e8ed5ddd2423111c88c6aef77743 /testsuite/gdk/encoding.c
parenta3e2fc2df6ed9e896aa553a3acc1a5c363914d09 (diff)
downloadgtk+-no-init-args.tar.gz
Update callersno-init-args
Adapt all our tests and examples to the new initialization api.
Diffstat (limited to 'testsuite/gdk/encoding.c')
-rw-r--r--testsuite/gdk/encoding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/gdk/encoding.c b/testsuite/gdk/encoding.c
index 6ae96095d6..016d1cee28 100644
--- a/testsuite/gdk/encoding.c
+++ b/testsuite/gdk/encoding.c
@@ -1,4 +1,4 @@
-#include <gdk/gdk.h>
+#include <gtk/gtk.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/x11/gdkx.h>
#endif
@@ -38,7 +38,7 @@ int
main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
- gdk_init (&argc, &argv);
+ gtk_init ();
g_test_add_func ("/encoding/to-text-list", test_to_text_list);