diff --git a/src/add-ons/decorators/BeDecorator/BeDecorator.cpp b/src/add-ons/decorators/BeDecorator/BeDecorator.cpp index 9d634ff09a..6f11292d68 100644 --- a/src/add-ons/decorators/BeDecorator/BeDecorator.cpp +++ b/src/add-ons/decorators/BeDecorator/BeDecorator.cpp @@ -1186,7 +1186,7 @@ extern "C" float get_decorator_version(void) return 1.00; } -extern "C" Decorator *(create_decorator)(DesktopSettings &desktopSetting, BRect rec, +extern "C" Decorator *(instantiate_decorator)(DesktopSettings &desktopSetting, BRect rec, window_look loo, uint32 flag) { return (new BeDecorator(desktopSetting, rec, loo, flag)); diff --git a/src/servers/app/DecorManager.cpp b/src/servers/app/DecorManager.cpp index cd1b14ac93..bf06661ed4 100644 --- a/src/servers/app/DecorManager.cpp +++ b/src/servers/app/DecorManager.cpp @@ -184,7 +184,6 @@ DecorManager::RescanDecorators() create_decorator* createFunc; // Get the instantiation function - // TODO : this is not working for some reason status_t status = get_image_symbol(image, "instantiate_decorator", B_SYMBOL_TYPE_TEXT, (void**)&createFunc); if (status != B_OK) {