diff --git a/backends/ui/haiku/main_window.cpp b/backends/ui/haiku/main_window.cpp index 60c7e8f..861b8e1 100644 --- a/backends/ui/haiku/main_window.cpp +++ b/backends/ui/haiku/main_window.cpp @@ -289,7 +289,7 @@ void HaikuLooperWindow::MessageReceived(BMessage *msg) { } break; case CMD_SET_CAT: { BBitmap *cat = NULL; - if (msg->FindBitmap("cat", &cat) != B_OK) { + if (msg->FindPointer("cat", &cat) != B_OK) { cat = NULL; } UpdateCat(cat); diff --git a/backends/ui/haiku/prefs.cpp b/backends/ui/haiku/prefs.cpp index aba307f..77d2db1 100644 --- a/backends/ui/haiku/prefs.cpp +++ b/backends/ui/haiku/prefs.cpp @@ -149,7 +149,7 @@ void HaikuPrefsWindow::MessageReceived(BMessage *msg) { set_option("ui.enable_cat", enable_cat); next_handler->PostMessage(CMD_UPDATE_LABEL_SETTING); BMessage *cat_msg = new BMessage(CMD_SET_CAT); - if (enable_cat) cat_msg->AddBitmap("cat", cats[cat_id]) + if (enable_cat) cat_msg->AddPointer("cat", cats[cat_id]) next_handler->PostMessage(cat_msg); } break; case CMD_REVERT: {