diff --git a/gtk/OGApplication.m b/gtk/OGApplication.m index 501d388..ae2e06e 100644 --- a/gtk/OGApplication.m +++ b/gtk/OGApplication.m @@ -26,8 +26,6 @@ OF_APPLICATION_DELEGATE(OGApplication) -extern Class og_application_delegate(void); - @implementation OGApplication + (void)quit { diff --git a/headers/OGApplication.h b/headers/OGApplication.h index 114bd1c..ff11c5a 100644 --- a/headers/OGApplication.h +++ b/headers/OGApplication.h @@ -41,3 +41,5 @@ og_application_delegate() { \ return [cls class]; \ } + +extern Class og_application_delegate(void); diff --git a/win32/OGApplication.m b/win32/OGApplication.m index 1ee7168..8f5d2b4 100644 --- a/win32/OGApplication.m +++ b/win32/OGApplication.m @@ -36,7 +36,6 @@ LRESULT CALLBACK win32_OGWndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpar @end //================================================================================================================================== OF_APPLICATION_DELEGATE(OGApplication) -extern Class og_application_delegate(void); //================================================================================================================================== @implementation OGApplication //----------------------------------------------------------------------------------------------------------------------------------