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 /amiga/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 'amiga/gui.c')
-rwxr-xr-x | amiga/gui.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index caf7fb784..64aa06162 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -78,9 +78,7 @@ #ifdef NS_AMIGA_CAIRO #include <cairo/cairo-amigaos.h> #endif -#ifdef WITH_HUBBUB #include <hubbub/hubbub.h> -#endif #include <proto/window.h> #include <proto/layout.h> @@ -178,9 +176,7 @@ void ami_scroller_hook(struct Hook *,Object *,struct IntuiMessage *); uint32 ami_popup_hook(struct Hook *hook,Object *item,APTR reserved); void ami_init_mouse_pointers(void); void ami_switch_tab(struct gui_window_2 *gwin,bool redraw); -#ifdef WITH_HUBBUB static void *myrealloc(void *ptr, size_t len, void *pw); -#endif void gui_init(int argc, char** argv) { @@ -282,12 +278,10 @@ void gui_init(int argc, char** argv) default_stylesheet_url = "file:///PROGDIR:Resources/amiga.css"; adblock_stylesheet_url = "file:///PROGDIR:Resources/adblock.css"; -#ifdef WITH_HUBBUB if(hubbub_initialise("PROGDIR:Resources/Aliases",myrealloc,NULL) != HUBBUB_OK) { die(messages_get("NoMemory")); } -#endif css_screen_dpi = 72; css_scrollbar_fg_colour = 0x00aaaaaa; @@ -1425,9 +1419,7 @@ void gui_quit(void) ami_cookies_free(); ami_global_history_free(); -#ifdef WITH_HUBBUB hubbub_finalise(myrealloc,NULL); -#endif ami_arexx_cleanup(); @@ -2852,9 +2844,7 @@ void gui_cert_verify(struct browser_window *bw, struct content *c, { } -#ifdef WITH_HUBBUB static void *myrealloc(void *ptr, size_t len, void *pw) { return realloc(ptr, len); } -#endif |