Index: src/OFApplication.h ================================================================== --- src/OFApplication.h +++ src/OFApplication.h @@ -218,16 +218,11 @@ * * @param delegate The delegate for the application */ - (void)setDelegate: (id )delegate; -/*! - * @brief Starts the application after everything has been initialized. - * - * You should not call this directly, but use OF_APPLICATION_DELEGATE instead! - */ -- (void)run; +- (void)OF_run; /*! * @brief Terminates the application. */ - (void)terminate; Index: src/OFApplication.m ================================================================== --- src/OFApplication.m +++ src/OFApplication.m @@ -104,11 +104,11 @@ #endif delegate = [[cls alloc] init]; [app setDelegate: delegate]; - [app run]; + [app OF_run]; return 0; } @implementation OFApplication @@ -396,11 +396,11 @@ REGISTER_SIGNAL(SIGUSR2) #endif #undef REGISTER_SIGNAL } -- (void)run +- (void)OF_run { void *pool = objc_autoreleasePoolPush(); OFRunLoop *runLoop; #ifdef OF_HAVE_THREADS