From 64e42a465bfd757b3918514b76cd9ea05b84cae1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 23 Feb 2024 00:33:17 +0100 Subject: [PATCH] YTK is not interested in system-wide GTK Modules --- libs/tk/ytk/gtkmain.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libs/tk/ytk/gtkmain.c b/libs/tk/ytk/gtkmain.c index 8c331a79a2..dccf984f35 100644 --- a/libs/tk/ytk/gtkmain.c +++ b/libs/tk/ytk/gtkmain.c @@ -689,21 +689,6 @@ do_pre_parse_initialization (int *argc, env_string = NULL; } #endif /* G_ENABLE_DEBUG */ - - env_string = g_getenv ("GTK2_MODULES"); - if (env_string) - gtk_modules_string = g_string_new (env_string); - - env_string = g_getenv ("GTK_MODULES"); - if (env_string) - { - if (gtk_modules_string) - g_string_append_c (gtk_modules_string, G_SEARCHPATH_SEPARATOR); - else - gtk_modules_string = g_string_new (NULL); - - g_string_append (gtk_modules_string, env_string); - } } static void