diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/gui.h | 18 | ||||
-rw-r--r-- | desktop/gui_factory.c | 7 |
2 files changed, 0 insertions, 25 deletions
diff --git a/desktop/gui.h b/desktop/gui.h index 5710d5328..bc7553c16 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -331,23 +331,6 @@ struct gui_fetch_table { */ const char *(*filetype)(const char *unix_path); - /** - * Convert a pathname to a file: URL. - * - * \param path pathname - * \return URL, allocated on heap, or NULL on failure - */ - char *(*path_to_url)(const char *path); - - /** - * Convert a file: URL to a pathname. - * - * \param url a file: URL - * \return pathname, allocated on heap, or NULL on failure - */ - char *(*url_to_path)(const char *url); - - /* Optional entries */ /** @@ -379,7 +362,6 @@ struct gui_fetch_table { }; - /** * User interface utf8 characterset conversion routines. */ 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) { |