Revert "Add private api to load a single module"

This reverts commit 7f9a0dbe16.
This commit is contained in:
Matthias Clasen 2014-05-14 21:25:28 -04:00
parent 59c9d24bbf
commit 384393e9de
3 changed files with 1 additions and 8 deletions

View File

@ -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));
}

View File

@ -49,6 +49,7 @@ typedef void (*GtkModuleInitFunc) (gint *argc,
*/
typedef void (*GtkModuleDisplayInitFunc) (GdkDisplay *display);
G_END_DECLS

View File

@ -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);