From 7c9df99170f58dfea3151c3a4f4ea066044c7cfe Mon Sep 17 00:00:00 2001 From: Daemonratte Date: Fri, 15 May 2026 16:11:57 +0200 Subject: [PATCH] gtk: reuse cached module path --- gtk/gtkmodules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c index de5c5a002..6fa78ea51 100644 --- a/gtk/gtkmodules.c +++ b/gtk/gtkmodules.c @@ -237,7 +237,7 @@ _gtk_get_module_path (const gchar *type) result = g_new (gchar *, count * 5 + 1); count = 0; - for (path = get_module_path (); *path; path++) + for (path = paths; *path; path++) { gint use_version, use_host; gboolean path_from_env;