From e71691bae890040b83cfd54a2d9a1097d5026866 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 6 May 2011 20:40:09 +0000 Subject: Merge branches/jmb/content-factory to trunk svn path=/trunk/netsurf/; revision=12283 --- cocoa/NetsurfApp.m | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cocoa/NetsurfApp.m') diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m index 8897eb4b4..631d56b6c 100644 --- a/cocoa/NetsurfApp.m +++ b/cocoa/NetsurfApp.m @@ -16,6 +16,7 @@ * along with this program. If not, see . */ +#import "cocoa/apple_image.h" #import "cocoa/NetsurfApp.h" #import "cocoa/gui.h" #import "cocoa/plotter.h" @@ -178,6 +179,8 @@ int main( int argc, char **argv ) option_ca_bundle = strdup( [[[NSBundle mainBundle] pathForResource: @"ca-bundle" ofType: @""] UTF8String] ); netsurf_init(&argc, &argv, options, messages); + + apple_image_init(); NSApplication *app = cocoa_prepare_app(); @@ -191,6 +194,8 @@ int main( int argc, char **argv ) [app run]; netsurf_exit(); + + apple_image_fini(); return 0; } -- cgit v1.2.3