summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-22 15:17:46 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-22 15:17:46 +0000
commit16a821e2aac8ca88083ffbcbaeeaf87126212421 (patch)
treebc3a973680807ec8796dd934dba8ce241c488da1 /riscos
parent851da107c9d0680336362478d6dcbe50efeaa5ab (diff)
downloadnetsurf-16a821e2aac8ca88083ffbcbaeeaf87126212421.tar.gz
netsurf-16a821e2aac8ca88083ffbcbaeeaf87126212421.tar.bz2
Purge WITH_URI
svn path=/trunk/netsurf/; revision=6602
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui.c6
-rw-r--r--riscos/uri.c2
-rw-r--r--riscos/uri.h3
3 files changed, 0 insertions, 11 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 49986cb7e..4a621c013 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -82,9 +82,7 @@
#include "riscos/textselection.h"
#include "riscos/theme.h"
#include "riscos/treeview.h"
-#ifdef WITH_URI
#include "riscos/uri.h"
-#endif
#ifdef WITH_URL
#include "riscos/url_protocol.h"
#endif
@@ -205,10 +203,8 @@ static wimp_MESSAGE_LIST(42) task_messages = { {
message_DRAG_CLAIM,
message_MODE_CHANGE,
message_FONT_CHANGED,
-#ifdef WITH_URI
message_URI_PROCESS,
message_URI_RETURN_RESULT,
-#endif
#ifdef WITH_URL
message_INET_SUITE_OPEN_URL,
#endif
@@ -1370,7 +1366,6 @@ void ro_gui_user_message(wimp_event_no event, wimp_message *message)
ro_gui_wimp_get_desktop_font();
break;
-#ifdef WITH_URI
case message_URI_PROCESS:
if (event != wimp_USER_MESSAGE_ACKNOWLEDGE)
ro_uri_message_received(message);
@@ -1378,7 +1373,6 @@ void ro_gui_user_message(wimp_event_no event, wimp_message *message)
case message_URI_RETURN_RESULT:
ro_uri_bounce(message);
break;
-#endif
#ifdef WITH_URL
case message_INET_SUITE_OPEN_URL:
if (event == wimp_USER_MESSAGE_ACKNOWLEDGE) {
diff --git a/riscos/uri.c b/riscos/uri.c
index b4250941d..da6f951dc 100644
--- a/riscos/uri.c
+++ b/riscos/uri.c
@@ -17,7 +17,6 @@
*/
#include "utils/config.h"
-#ifdef WITH_URI
#include <stdbool.h>
#include <stdio.h>
@@ -101,4 +100,3 @@ void ro_uri_bounce(wimp_message *msg)
return;
}
-#endif
diff --git a/riscos/uri.h b/riscos/uri.h
index b22d36986..8165b9c61 100644
--- a/riscos/uri.h
+++ b/riscos/uri.h
@@ -20,7 +20,6 @@
#define _NETSURF_RISCOS_URI_H_
#include "utils/config.h"
-#ifdef WITH_URI
#include "oslib/wimp.h"
@@ -28,6 +27,4 @@ void ro_uri_message_received(wimp_message *message);
bool ro_uri_launch(char *uri);
void ro_uri_bounce(wimp_message *message);
-#endif /* WITH_URI */
-
#endif