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;