Purge WITH_DRAW_EXPORT
svn path=/trunk/netsurf/; revision=6980
This commit is contained in:
parent
f0432b9f7b
commit
87add71110
|
@ -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
|
||||
|
|
|
@ -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,11 +1122,9 @@ 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;
|
||||
|
|
|
@ -54,10 +54,6 @@ char *strndup(const char *s, size_t n);
|
|||
/* We're likely to have a working mmap() */
|
||||
#define WITH_MMAP
|
||||
#endif
|
||||
#if defined(riscos) || defined(DEBUG_BUILD)
|
||||
/* Export modules */
|
||||
#define WITH_DRAW_EXPORT
|
||||
#endif
|
||||
|
||||
/* Configuration sanity checks: */
|
||||
#if defined(WITH_NS_SVG) && defined(WITH_RSVG)
|
||||
|
|
Loading…
Reference in New Issue