From 5eaeaed909495ddba462ea7e4d9954e772867844 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 4 Dec 2010 20:14:33 +0000 Subject: Remove Hubbub and Wapcaplet initialisation and finalisation. svn path=/trunk/netsurf/; revision=10980 --- gtk/gtk_gui.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gtk') 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 #include #include -#include #include #include @@ -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); } -- cgit v1.2.3