summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-14 21:25:28 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-14 21:25:28 -0400
commit384393e9de1b5f88f16a6920a744f367b374c092 (patch)
tree4ea91b26abeb2df98fe176a83f7964b4ba3a4b86 /gtk
parent59c9d24bbf0a0e6c8b4a693d5fc99edac7207843 (diff)
downloadgtk+-384393e9de1b5f88f16a6920a744f367b374c092.tar.gz
Revert "Add private api to load a single module"
This reverts commit 7f9a0dbe164f7c731d24c4890dde51391787e966.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkmodules.c7
-rw-r--r--gtk/gtkmodules.h1
-rw-r--r--gtk/gtkmodulesprivate.h1
3 files changed, 1 insertions, 8 deletions
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
index 87883e9c70..640be7bb55 100644
--- a/gtk/gtkmodules.c
+++ b/gtk/gtkmodules.c
@@ -600,10 +600,3 @@ _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));
-}
diff --git a/gtk/gtkmodules.h b/gtk/gtkmodules.h
index b5a756edfe..29409b7041 100644
--- a/gtk/gtkmodules.h
+++ b/gtk/gtkmodules.h
@@ -49,6 +49,7 @@ typedef void (*GtkModuleInitFunc) (gint *argc,
*/
typedef void (*GtkModuleDisplayInitFunc) (GdkDisplay *display);
+
G_END_DECLS
diff --git a/gtk/gtkmodulesprivate.h b/gtk/gtkmodulesprivate.h
index 34c30739f9..11dbebfd9d 100644
--- a/gtk/gtkmodulesprivate.h
+++ b/gtk/gtkmodulesprivate.h
@@ -38,7 +38,6 @@ void _gtk_modules_init (gint *argc,
const gchar *gtk_modules_args);
void _gtk_modules_settings_changed (GtkSettings *settings,
const gchar *modules);
-void _gtk_modules_load_module (const gchar *name);
gboolean _gtk_module_has_mixed_deps (GModule *module);