diff options
author | Michael Natterer <mitch@gimp.org> | 2011-10-23 13:57:07 +0200 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2011-10-23 13:57:07 +0200 |
commit | 5c4f2ef0c1e658827091aadf4fc3c4d5f5964785 (patch) | |
tree | a5da9acda064284852e755d56aa421c73a15075f /gtk/gtkmain.c | |
parent | 2688ccdbc4c8976ba4f7d681533d70ab9edc8b32 (diff) | |
download | gtk+-5c4f2ef0c1e658827091aadf4fc3c4d5f5964785.tar.gz |
gtk: move _gtk_modules_has_mixed_deps() to gtkmodlesprivate.h
and remove gtkmainprivate.h completely.
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r-- | gtk/gtkmain.c | 40 |
1 files changed, 6 insertions, 34 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index a4c38f62a4..25e61ebc47 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -91,9 +91,6 @@ #include "config.h" -#include "gtkmainprivate.h" - -#include <glib.h> #include "gdk/gdk.h" #include <locale.h> @@ -117,19 +114,20 @@ #include "gtkaccelmap.h" #include "gtkbox.h" #include "gtkclipboard.h" +#include "gtkdebug.h" #include "gtkdnd.h" -#include "gtkversion.h" +#include "gtkmain.h" +#include "gtkmenu.h" #include "gtkmodules.h" #include "gtkmodulesprivate.h" +#include "gtkprivate.h" #include "gtkrecentmanager.h" #include "gtkselectionprivate.h" #include "gtksettingsprivate.h" +#include "gtktooltip.h" +#include "gtkversion.h" #include "gtkwidgetprivate.h" #include "gtkwindowprivate.h" -#include "gtktooltip.h" -#include "gtkdebug.h" -#include "gtkmenu.h" -#include "gtkprivate.h" /* Private type definitions @@ -622,32 +620,6 @@ setlocale_initialization (void) } } -/* Return TRUE if module_to_check causes version conflicts. - * If module_to_check is NULL, check the main module. - */ -gboolean -_gtk_module_has_mixed_deps (GModule *module_to_check) -{ - GModule *module; - gpointer func; - gboolean result; - - if (!module_to_check) - module = g_module_open (NULL, 0); - else - module = module_to_check; - - if (g_module_symbol (module, "gtk_progress_get_type", &func)) - result = TRUE; - else - result = FALSE; - - if (!module_to_check) - g_module_close (module); - - return result; -} - static void do_pre_parse_initialization (int *argc, char ***argv) |