diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-22 15:19:06 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-22 15:19:06 +0000 |
commit | 5943c3a3ba132ed9060140d8f89a321c639f3939 (patch) | |
tree | 1e04901325730e9534b291b22b7092056c7a122d /riscos | |
parent | 16a821e2aac8ca88083ffbcbaeeaf87126212421 (diff) | |
download | netsurf-5943c3a3ba132ed9060140d8f89a321c639f3939.tar.gz netsurf-5943c3a3ba132ed9060140d8f89a321c639f3939.tar.bz2 |
Purge WITH_URL
svn path=/trunk/netsurf/; revision=6603
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/gui.c | 8 | ||||
-rw-r--r-- | riscos/url_protocol.c | 2 | ||||
-rw-r--r-- | riscos/url_protocol.h | 3 |
3 files changed, 0 insertions, 13 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 4a621c013..5530a8965 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -83,9 +83,7 @@ #include "riscos/theme.h" #include "riscos/treeview.h" #include "riscos/uri.h" -#ifdef WITH_URL #include "riscos/url_protocol.h" -#endif #include "riscos/url_complete.h" #include "riscos/wimp.h" #include "riscos/wimp_event.h" @@ -205,9 +203,7 @@ static wimp_MESSAGE_LIST(42) task_messages = { { message_FONT_CHANGED, message_URI_PROCESS, message_URI_RETURN_RESULT, -#ifdef WITH_URL message_INET_SUITE_OPEN_URL, -#endif #ifdef WITH_PLUGIN message_PLUG_IN_OPENING, message_PLUG_IN_CLOSED, @@ -1373,7 +1369,6 @@ void ro_gui_user_message(wimp_event_no event, wimp_message *message) case message_URI_RETURN_RESULT: ro_uri_bounce(message); break; -#ifdef WITH_URL case message_INET_SUITE_OPEN_URL: if (event == wimp_USER_MESSAGE_ACKNOWLEDGE) { ro_url_bounce(message); @@ -1382,7 +1377,6 @@ void ro_gui_user_message(wimp_event_no event, wimp_message *message) ro_url_message_received(message); } break; -#endif #ifdef WITH_PLUGIN case message_PLUG_IN_OPENING: plugin_opening(message); @@ -2319,10 +2313,8 @@ void ro_gui_dump_content(struct content *content) void gui_launch_url(const char *url) { -#ifdef WITH_URL /* Try ant broadcast first */ ro_url_broadcast(url); -#endif } diff --git a/riscos/url_protocol.c b/riscos/url_protocol.c index 57409d25f..5e0d70574 100644 --- a/riscos/url_protocol.c +++ b/riscos/url_protocol.c @@ -25,7 +25,6 @@ */ #include "utils/config.h" -#ifdef WITH_URL #define _GNU_SOURCE /* for strndup */ #include <ctype.h> @@ -205,4 +204,3 @@ void ro_url_bounce(wimp_message *message) ro_uri_launch(url_message->url); } -#endif diff --git a/riscos/url_protocol.h b/riscos/url_protocol.h index 0561d52dc..c066981f7 100644 --- a/riscos/url_protocol.h +++ b/riscos/url_protocol.h @@ -24,7 +24,6 @@ #define _NETSURF_RISCOS_URL_H_ #include "utils/config.h" -#ifdef WITH_URL #include "oslib/wimp.h" @@ -33,6 +32,4 @@ void ro_url_broadcast(const char *url); void ro_url_load(const char *url); void ro_url_bounce(wimp_message *message); -#endif /* WITH_URL */ - #endif |