From a53d7faf9d1dee330e7fc313e11ec765e8476694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 12 Apr 2023 16:44:52 +0200 Subject: [PATCH] st/test-theme: Don't initialize GTK St no longer requires GTK to be initialized, so this is no longer needed (and pulls in an unnecessary GTK dependency). Part-of: --- src/st/meson.build | 2 +- src/st/test-theme.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/st/meson.build b/src/st/meson.build index d77e43ba8..fe6664dce 100644 --- a/src/st/meson.build +++ b/src/st/meson.build @@ -199,7 +199,7 @@ if get_option('tests') test_theme = executable('test-theme', sources: 'test-theme.c', c_args: st_cflags, - dependencies: [mutter_test_dep, gtk_dep, libxml_dep], + dependencies: [mutter_test_dep, libxml_dep], build_rpath: mutter_typelibdir, link_with: libst ) diff --git a/src/st/test-theme.c b/src/st/test-theme.c index a019cd6ab..6e2702c15 100644 --- a/src/st/test-theme.c +++ b/src/st/test-theme.c @@ -28,8 +28,6 @@ #include #include -#include - static ClutterActor *stage; static StThemeNode *root; static StThemeNode *group1; @@ -549,8 +547,6 @@ main (int argc, char **argv) GFile *file; g_autofree char *cwd = NULL; - gtk_init (&argc, &argv); - /* meta_init() cds to $HOME */ cwd = g_get_current_dir ();