diff options
author | Florian Müllner <fmuellner@gnome.org> | 2010-07-15 23:40:28 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2010-07-15 23:40:28 +0200 |
commit | 103087b785d4f09c963646d66d1c023af7a92ab5 (patch) | |
tree | 02c227952aacdd3df504eeacd62ba534e7c26a11 /girepository | |
parent | 4b7cb27d3d9fa029ce0bf03025b1d339ce6a2a5f (diff) | |
download | gobject-introspection-103087b785d4f09c963646d66d1c023af7a92ab5.tar.gz |
[girepository] Fix ordering in override_search_path
Entries in the GI_TYPELIB_PATH environment variable are added to the
global search path in reverse order - instead, add entries in the
same order in which they are specified.
Diffstat (limited to 'girepository')
-rw-r--r-- | girepository/girepository.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/girepository/girepository.c b/girepository/girepository.c index ef3d6d22..df09d822 100644 --- a/girepository/girepository.c +++ b/girepository/girepository.c @@ -131,6 +131,9 @@ init_globals (void) g_free (custom_dirs); } + if (override_search_path != NULL) + override_search_path = g_slist_reverse (override_search_path); + libdir = GOBJECT_INTROSPECTION_LIBDIR; typelib_dir = g_build_filename (libdir, "girepository-1.0", NULL); |