summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-05-06 20:40:09 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-05-06 20:40:09 +0000
commite71691bae890040b83cfd54a2d9a1097d5026866 (patch)
tree96b2680dc6559ca0ab88fa0b6a533c13b7c9487e /atari
parente77b1a29550e4753f771848705975295a6ebe99e (diff)
downloadnetsurf-e71691bae890040b83cfd54a2d9a1097d5026866.tar.gz
netsurf-e71691bae890040b83cfd54a2d9a1097d5026866.tar.bz2
Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
Diffstat (limited to 'atari')
-rwxr-xr-xatari/gui.c2
-rwxr-xr-xatari/treeview.c30
2 files changed, 2 insertions, 30 deletions
diff --git a/atari/gui.c b/atari/gui.c
index 75664e5c1..1679a2226 100755
--- a/atari/gui.c
+++ b/atari/gui.c
@@ -637,7 +637,7 @@ save_complete_gui_save(const char *path,
const char *filename,
size_t len,
const char *sourcedata,
- content_type type)
+ lwc_string *mime_type)
{
TODO();
LOG(("%s", filename));
diff --git a/atari/treeview.c b/atari/treeview.c
index b24e9aecb..9f1ddb65c 100755
--- a/atari/treeview.c
+++ b/atari/treeview.c
@@ -468,35 +468,7 @@ void tree_icon_name_from_content_type(char *buffer, content_type type)
case CONTENT_HTML:
case CONTENT_TEXTPLAIN:
case CONTENT_CSS:
-#if defined(WITH_MNG) || defined(WITH_PNG)
- case CONTENT_PNG:
-#endif
-#ifdef WITH_MNG
- case CONTENT_JNG:
- case CONTENT_MNG:
-#endif
-#ifdef WITH_JPEG
- case CONTENT_JPEG:
-#endif
-#ifdef WITH_GIF
- case CONTENT_GIF:
-#endif
-#ifdef WITH_BMP
- case CONTENT_BMP:
- case CONTENT_ICO:
-#endif
-#ifdef WITH_SPRITE
- case CONTENT_SPRITE:
-#endif
-#ifdef WITH_DRAW
- case CONTENT_DRAW:
-#endif
-#ifdef WITH_ARTWORKS
- case CONTENT_ARTWORKS:
-#endif
-#ifdef WITH_NS_SVG
- case CONTENT_SVG:
-#endif
+ case CONTENT_IMAGE:
default:
strcpy( buffer, "content.png" );
break;