diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2010-12-04 20:14:33 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2010-12-04 20:14:33 +0000 |
commit | 5eaeaed909495ddba462ea7e4d9954e772867844 (patch) | |
tree | db21df0505ebf6e9cc852ae008b5cc4f0859a671 /gtk/gtk_gui.c | |
parent | 632f7df653ae7636a89a2b6d9b7db88089f80129 (diff) | |
download | netsurf-5eaeaed909495ddba462ea7e4d9954e772867844.tar.gz netsurf-5eaeaed909495ddba462ea7e4d9954e772867844.tar.bz2 |
Remove Hubbub and Wapcaplet initialisation and finalisation.
svn path=/trunk/netsurf/; revision=10980
Diffstat (limited to 'gtk/gtk_gui.c')
-rw-r--r-- | gtk/gtk_gui.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c index a41789a41..be6e4afe2 100644 --- a/gtk/gtk_gui.c +++ b/gtk/gtk_gui.c @@ -37,7 +37,6 @@ #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> #include <glade/glade.h> -#include <hubbub/hubbub.h> #include <glib.h> #include <glib/gi18n.h> @@ -432,15 +431,6 @@ static void gui_init(int argc, char** argv, char **respath) /* check user options */ check_options(respath); - /* Character encoding mapping file *must* be available */ - resource_filename = findresource(respath, "Aliases"); - if (resource_filename == NULL) - die("Unable to locate file for character encoding mapping\n"); - LOG(("Using '%s' as Aliases file", resource_filename)); - if (hubbub_initialise(resource_filename, ns_realloc, NULL) != HUBBUB_OK) - die("Unable to initialise HTML parsing library.\n"); - free(resource_filename); - /* Obtain resources path location. * * Uses the directory the languages file was found in, @@ -686,8 +676,6 @@ void gui_quit(void) free(search_default_ico_location); free(toolbar_indices_file_location); gtk_fetch_filetype_fin(); - /* We don't care if this fails as we're about to die, anyway */ - hubbub_finalise(ns_realloc, NULL); } |