diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-09-24 09:24:13 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-09-24 09:24:13 +0000 |
commit | 7334ec404e2ff3b3e502bb366afac376b7e6262e (patch) | |
tree | 6913e5444fca07e116679232dc769d5666963540 /gtk/gui.h | |
parent | 9854ad631326d19fed5243b51716b3606fb2484c (diff) | |
download | netsurf-7334ec404e2ff3b3e502bb366afac376b7e6262e.tar.gz netsurf-7334ec404e2ff3b3e502bb366afac376b7e6262e.tar.bz2 |
reduce to a single global structure for glade file locations
svn path=/trunk/netsurf/; revision=12872
Diffstat (limited to 'gtk/gui.h')
-rw-r--r-- | gtk/gui.h | 23 |
1 files changed, 16 insertions, 7 deletions
@@ -31,13 +31,22 @@ #include <gtk/gtk.h> #include <glade/glade.h> -extern char *glade_netsurf_file_location; -extern char *glade_password_file_location; -extern char *glade_warning_file_location; -extern char *glade_login_file_location; -extern char *glade_ssl_file_location; -extern char *glade_toolbar_file_location; -extern char *glade_options_file_location; +struct glade_file_location_s { + char *netsurf; + char *password; + char *warning; + char *login; + char *ssl; + char *toolbar; + char *options; + char *downloads; + char *history; + char *hotlist; + char *cookies; +}; + +/** location of all glade files. */ +extern struct glade_file_location_s *glade_file_location; extern char *languages_file_location; extern char *toolbar_indices_file_location; |