diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-09-01 20:30:24 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-01 20:30:24 +0000 |
commit | 8189921f446a585398d8df69d589b6003ccbffdb (patch) | |
tree | 92dcb32a0d29888b23f82d91b61615a21b2b5317 /gtk/gtkdebug.h | |
parent | 0ac4f2837a6e8d57f79846f4cef65658122264b5 (diff) | |
download | gtk+-8189921f446a585398d8df69d589b6003ccbffdb.tar.gz |
Make it possible to specify additional modules to load via a setting.
2004-09-01 Matthias Clasen <mclasen@redhat.com>
Make it possible to specify additional modules to load
via a setting. (#117236, Alex Graveley)
* gtk/gtkmodules.h:
* gtk/gtkmodules.c: New files which contain the module
handling code which was previously in gtkmain.[hc].
Additionally, the code now looks for the gtk-modules
setting, which can specify additional modules to load.
* gtk/gtkmain.c:
* gtk/gtkmain.h: Remove all the module handling code.
* gtk/gtkdebug.h: Add a debug flag for modules.
* gtk/gtk.h: Include gtkmodules.h
* gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
(gtk_c_sources): Add gtkmodules.c
* gtk/gtksettings.c: Add the gtk-modules setting.
* gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
Diffstat (limited to 'gtk/gtkdebug.h')
-rw-r--r-- | gtk/gtkdebug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h index 5a5a1ec230..6febf849a9 100644 --- a/gtk/gtkdebug.h +++ b/gtk/gtkdebug.h @@ -38,7 +38,8 @@ typedef enum { GTK_DEBUG_TREE = 1 << 3, GTK_DEBUG_UPDATES = 1 << 4, GTK_DEBUG_KEYBINDINGS = 1 << 5, - GTK_DEBUG_MULTIHEAD = 1 << 6 + GTK_DEBUG_MULTIHEAD = 1 << 6, + GTK_DEBUG_MODULES = 1 << 7 } GtkDebugFlag; #ifdef G_ENABLE_DEBUG |