diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-17 00:54:27 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-17 00:54:27 +0000 |
commit | daf7a52dd67e7ac2149dba337cc156c9ba308987 (patch) | |
tree | 7514c0aaccc3c1ec2fc4b8b348e3249a043a6ff4 /gtk/gtk_gui.c | |
parent | 5ae689a29633afc64474c414541c56a98a3876cf (diff) | |
download | netsurf-daf7a52dd67e7ac2149dba337cc156c9ba308987.tar.gz netsurf-daf7a52dd67e7ac2149dba337cc156c9ba308987.tar.bz2 |
Hubbub is no longer optional.
Remove libxml2 parser binding.
svn path=/trunk/netsurf/; revision=7115
Diffstat (limited to 'gtk/gtk_gui.c')
-rw-r--r-- | gtk/gtk_gui.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c index 4d6487b42..763898186 100644 --- a/gtk/gtk_gui.c +++ b/gtk/gtk_gui.c @@ -31,9 +31,7 @@ #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> #include <glade/glade.h> -#ifdef WITH_HUBBUB #include <hubbub/hubbub.h> -#endif #include "content/content.h" #include "content/fetch.h" #include "content/fetchers/fetch_curl.h" @@ -181,12 +179,10 @@ static void check_homedir(void) } } -#ifdef WITH_HUBBUB static void *myrealloc(void *ptr, size_t len, void *pw) { return realloc(ptr, len); } -#endif void gui_init(int argc, char** argv) { @@ -204,12 +200,10 @@ void gui_init(int argc, char** argv) LOG(("Using '%s' as Resources directory", buf)); res_dir_location = strdup(buf); -#ifdef WITH_HUBBUB find_resource(buf, "Aliases", "./gtk/res/Aliases"); LOG(("Using '%s' as Aliases file", buf)); if (hubbub_initialise(buf, myrealloc, NULL) != HUBBUB_OK) die("Unable to initialise HTML parsing library.\n"); -#endif glade_init(); gladeWindows = glade_xml_new(glade_file_location, NULL, NULL); @@ -427,10 +421,8 @@ void gui_quit(void) free(option_cookie_jar); free(print_options_file_location); gtk_fetch_filetype_fin(); -#ifdef WITH_HUBBUB /* We don't care if this fails as we're about to die, anyway */ hubbub_finalise(myrealloc, NULL); -#endif } |