BeDecorator works again :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34750 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1186,7 +1186,7 @@ extern "C" float get_decorator_version(void)
|
|||||||
return 1.00;
|
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)
|
window_look loo, uint32 flag)
|
||||||
{
|
{
|
||||||
return (new BeDecorator(desktopSetting, rec, loo, flag));
|
return (new BeDecorator(desktopSetting, rec, loo, flag));
|
||||||
|
|||||||
@@ -184,7 +184,6 @@ DecorManager::RescanDecorators()
|
|||||||
create_decorator* createFunc;
|
create_decorator* createFunc;
|
||||||
|
|
||||||
// Get the instantiation function
|
// Get the instantiation function
|
||||||
// TODO : this is not working for some reason
|
|
||||||
status_t status = get_image_symbol(image, "instantiate_decorator",
|
status_t status = get_image_symbol(image, "instantiate_decorator",
|
||||||
B_SYMBOL_TYPE_TEXT, (void**)&createFunc);
|
B_SYMBOL_TYPE_TEXT, (void**)&createFunc);
|
||||||
if (status != B_OK) {
|
if (status != B_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user