diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-29 00:24:14 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-29 00:24:14 +0000 |
commit | 87add71110da4fc9f2d63bcab59ba7652c27cb6f (patch) | |
tree | 137d4fa29c2927e8ebe43ef7149a38198d9a859c /riscos | |
parent | f0432b9f7b640ffcbfbfbe60643bd3f61f37c903 (diff) | |
download | netsurf-87add71110da4fc9f2d63bcab59ba7652c27cb6f.tar.gz netsurf-87add71110da4fc9f2d63bcab59ba7652c27cb6f.tar.bz2 |
Purge WITH_DRAW_EXPORT
svn path=/trunk/netsurf/; revision=6980
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/menus.c | 4 | ||||
-rw-r--r-- | riscos/save.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/riscos/menus.c b/riscos/menus.c index 12a8f4666..2a54dd948 100644 --- a/riscos/menus.c +++ b/riscos/menus.c @@ -181,9 +181,7 @@ void ro_gui_menu_init(void) { "Page.Save", BROWSER_SAVE, &dialog_saveas }, { "Page.SaveComp", BROWSER_SAVE_COMPLETE, &dialog_saveas }, { "Page.Export", NO_ACTION, 0 }, -#ifdef WITH_DRAW_EXPORT { "Page.Export.Draw", BROWSER_EXPORT_DRAW, &dialog_saveas }, -#endif #ifdef WITH_PDF_EXPORT { "Page.Export.PDF", BROWSER_EXPORT_PDF, &dialog_saveas }, #endif @@ -2041,11 +2039,9 @@ void ro_gui_menu_prepare_action(wimp_w owner, menu_action action, break; /* vector types (Draw export possible) */ -#ifdef WITH_DRAW_EXPORT #if defined(WITH_NS_SVG) || defined(WITH_RSVG) case CONTENT_SVG: #endif -#endif #ifdef WITH_DRAW case CONTENT_DRAW: #endif diff --git a/riscos/save.c b/riscos/save.c index dc2cd2a93..668e00422 100644 --- a/riscos/save.c +++ b/riscos/save.c @@ -833,10 +833,8 @@ bool ro_gui_save_content(struct content *c, char *path, bool force_overwrite) } switch (gui_save_current_type) { -#ifdef WITH_DRAW_EXPORT case GUI_SAVE_DRAW: return save_as_draw(c, path); -#endif #ifdef WITH_PDF_EXPORT case GUI_SAVE_PDF: return save_as_pdf(c, path); @@ -1124,12 +1122,10 @@ bool ro_gui_save_object_native(struct content *c, char *path) return true; } break; -#ifdef WITH_DRAW_EXPORT #if defined(WITH_NS_SVG) || defined(WITH_RSVG) case CONTENT_SVG: return save_as_draw(c, path); #endif -#endif default: return false; } |