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