diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-06 22:19:12 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-10 22:04:19 -0400 |
commit | 7f9a0dbe164f7c731d24c4890dde51391787e966 (patch) | |
tree | f2165eaca0eee173e465c7058420642069990cb8 /gtk/gtkmodules.c | |
parent | 87e3484aa74f1daa212a6ff3d3492d81e7d37b8d (diff) | |
download | gtk+-7f9a0dbe164f7c731d24c4890dde51391787e966.tar.gz |
Add private api to load a single module
In the following commits, this function will be used to load the
gtkparasite module.
Diffstat (limited to 'gtk/gtkmodules.c')
-rw-r--r-- | gtk/gtkmodules.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c index 640be7bb55..87883e9c70 100644 --- a/gtk/gtkmodules.c +++ b/gtk/gtkmodules.c @@ -600,3 +600,10 @@ _gtk_module_has_mixed_deps (GModule *module_to_check) return result; } + +void +_gtk_modules_load_module (const gchar *name) +{ + /* We leak the ref */ + g_slist_free (load_modules (name)); +} |