diff options
author | Vincent Geddes <vgeddes@src.gnome.org> | 2007-02-10 15:36:06 +0000 |
---|---|---|
committer | Vincent Geddes <vgeddes@src.gnome.org> | 2007-02-10 15:36:06 +0000 |
commit | f81607b32719ead462c9e2f2fa4406da63cc32a7 (patch) | |
tree | bc7ae90cbbdcd7948300bf8921a9a81f2701053c /gladeui/glade.h | |
parent | 48d861d1ef4c31327a5f0ab833e5dc48ce767a8a (diff) | |
download | glade-f81607b32719ead462c9e2f2fa4406da63cc32a7.tar.gz |
- Added a private initialisation function `glade_init_check()' for
* gladeui/glade.h, gladeui/glade-app.[ch]:
- Added a private initialisation function `glade_init_check()' for
libgladeui.
- Removed the 'bad' public variables that defined various installation
paths. These paths can now be obtained from static class methods on
GladeApp (static as in the Java and C++ sense).
* src/main.c, src/glade-project-window.c, gladeui/glade-catalog.c,
gladeui/glade-binding.c, gladeui/glade-cursor.c,
gladeui/glade-palette.c gladeui/glade-widget-adaptor.c,
gladeui/glade-utils.c, bindings/python/glade-python.c: Use the new
GladeApp methods for obtaining installation paths.
* gladeui/glade-palette-box.[ch]: Use G_DEFINE_TYPE() and
g_type_class_add_private().
svn path=/trunk/; revision=1090
Diffstat (limited to 'gladeui/glade.h')
-rw-r--r-- | gladeui/glade.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gladeui/glade.h b/gladeui/glade.h index 0dfa1bf5..08b73a97 100644 --- a/gladeui/glade.h +++ b/gladeui/glade.h @@ -45,17 +45,4 @@ typedef struct _GladeProject GladeProject; #include <gladeui/glade-xml-utils.h> #include <gladeui/glade-fixed.h> -/* FIXME: should not expose variables in the public interface. - It would be better if these were implemented as - private methods on GladeApp. -*/ -LIBGLADEUI_API gboolean glade_verbose; -LIBGLADEUI_API gchar* glade_scripts_dir; -LIBGLADEUI_API gchar* glade_catalogs_dir; -LIBGLADEUI_API gchar* glade_modules_dir; -LIBGLADEUI_API gchar* glade_plugins_dir; -LIBGLADEUI_API gchar* glade_bindings_dir; -LIBGLADEUI_API gchar* glade_pixmaps_dir; -LIBGLADEUI_API gchar* glade_locale_dir; - #endif /* __GLADE_H__ */ |