19 lines
552 B
Diff
19 lines
552 B
Diff
--- a/gtk/gtkmodules.c 2020-12-18 06:29:40.000000000 +0100
|
|
+++ b/gtk/gtkmodules.c 2024-08-14 01:30:28.209803357 +0200
|
|
@@ -229,13 +229,8 @@
|
|
gchar *module_name;
|
|
|
|
module_name = _gtk_find_module (name, "modules");
|
|
- if (!module_name)
|
|
- {
|
|
- /* As last resort, try loading without an absolute path (using system
|
|
- * library path)
|
|
- */
|
|
- module_name = g_module_build_path (NULL, name);
|
|
- }
|
|
+ if (module_name == NULL)
|
|
+ return NULL;
|
|
|
|
module = g_module_open (module_name, G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
|
|
|