summaryrefslogtreecommitdiff
path: root/girepository/girepository.h
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2013-02-22 01:50:48 +0100
committerGiovanni Campagna <gcampagna@src.gnome.org>2013-02-24 23:09:36 +0100
commit9faf4b4e9eac13ceb9d8c214554d5ee2a384dc28 (patch)
tree126946cb4f06b60f75e28f112c41cd07bfc61466 /girepository/girepository.h
parent3a549931dff89f2b1885829386198005a207d29b (diff)
downloadgobject-introspection-9faf4b4e9eac13ceb9d8c214554d5ee2a384dc28.tar.gz
GIRepository: add API for extending library paths
Previously we would require applications that shipped with private typelibs to add the private path to LD_LIBRARY_PATH, or to have a launcher binary with the right RPATH. Now they can just call GIRepository.prepend_library_path() before they access the module. https://bugzilla.gnome.org/show_bug.cgi?id=694485
Diffstat (limited to 'girepository/girepository.h')
-rw-r--r--girepository/girepository.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/girepository/girepository.h b/girepository/girepository.h
index eb990a27..2b2b1713 100644
--- a/girepository/girepository.h
+++ b/girepository/girepository.h
@@ -90,6 +90,7 @@ typedef enum
GType g_irepository_get_type (void) G_GNUC_CONST;
GIRepository *g_irepository_get_default (void);
void g_irepository_prepend_search_path (const char *directory);
+void g_irepository_prepend_library_path (const char *directory);
GSList * g_irepository_get_search_path (void);
const char * g_irepository_load_typelib (GIRepository *repository,
GITypelib *typelib,