summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-09-15 22:47:50 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-09-15 22:47:50 +0000
commit339bed72725fe901724440939558c5f9817107ed (patch)
treed2c3fda42a53d4d763f5901fd16e597ce065dd2e /cocoa
parent3d71da088b83c2cc5741dfdc8f619fbf2bba55a2 (diff)
downloadnetsurf-339bed72725fe901724440939558c5f9817107ed.tar.gz
netsurf-339bed72725fe901724440939558c5f9817107ed.tar.bz2
Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/NetsurfApp.m2
-rw-r--r--cocoa/apple_image.h2
-rw-r--r--cocoa/apple_image.m4
3 files changed, 0 insertions, 8 deletions
diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m
index d8dda678e..2194b966c 100644
--- a/cocoa/NetsurfApp.m
+++ b/cocoa/NetsurfApp.m
@@ -201,8 +201,6 @@ int main( int argc, char **argv )
[app run];
netsurf_exit();
-
- apple_image_fini();
return 0;
}
diff --git a/cocoa/apple_image.h b/cocoa/apple_image.h
index 5d329c1c5..08748039f 100644
--- a/cocoa/apple_image.h
+++ b/cocoa/apple_image.h
@@ -26,12 +26,10 @@
#ifdef WITH_APPLE_IMAGE
nserror apple_image_init(void);
-void apple_image_fini(void);
#else
#define apple_image_init() NSERROR_OK
-#define apple_image_fini() ((void) 0)
#endif /* WITH_APPLE_IMAGE */
diff --git a/cocoa/apple_image.m b/cocoa/apple_image.m
index f38970234..dd2ed56de 100644
--- a/cocoa/apple_image.m
+++ b/cocoa/apple_image.m
@@ -105,10 +105,6 @@ nserror apple_image_init(void)
return NSERROR_OK;
}
-void apple_image_fini(void)
-{
-}
-
nserror apple_image_create(const content_handler *handler,
lwc_string *imime_type, const http_parameter *params,
llcache_handle *llcache, const char *fallback_charset,