summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-05-26 23:43:36 +0100
committerVincent Sanders <vince@kyllikki.org>2014-05-26 23:52:36 +0100
commit00b6cfc57e27f8146d9b41ba8e63038a4f9df70e (patch)
treebadf71a43a81975098d3f1294073d8c76bc994ea /desktop/gui_factory.c
parent1f337f292d1c98c396d5f8d5d294f9ba13963586 (diff)
downloadnetsurf-00b6cfc57e27f8146d9b41ba8e63038a4f9df70e.tar.gz
netsurf-00b6cfc57e27f8146d9b41ba8e63038a4f9df70e.tar.bz2
rework path to url mapping functions to convert from and to nsurl
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r--desktop/gui_factory.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c
index 96c28e29d..a60766647 100644
--- a/desktop/gui_factory.c
+++ b/desktop/gui_factory.c
@@ -479,13 +479,6 @@ static nserror verify_fetch_register(struct gui_fetch_table *gft)
if (gft->filetype == NULL) {
return NSERROR_BAD_PARAMETER;
}
- if (gft->path_to_url == NULL) {
- return NSERROR_BAD_PARAMETER;
- }
- if (gft->url_to_path == NULL) {
- return NSERROR_BAD_PARAMETER;
- }
-
/* fill in the optional entries with defaults */
if (gft->get_resource_url == NULL) {