gtk: reuse cached module path

This commit is contained in:
Daemonratte 2026-05-15 16:11:57 +02:00
commit 7c9df99170

View file

@ -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;