Fix usage of nonexistant function
Some checks failed
Build / build-deb (push) Blocked by required conditions
Build / build-appimage (push) Blocked by required conditions
Build / build-android (push) Blocked by required conditions
Build / build-windows (push) Blocked by required conditions
Build / build-gentoo (push) Failing after 1m6s
Build / download-system-deps (push) Successful in 4m13s
Build / get-source-code (push) Has been cancelled
Some checks failed
Build / build-deb (push) Blocked by required conditions
Build / build-appimage (push) Blocked by required conditions
Build / build-android (push) Blocked by required conditions
Build / build-windows (push) Blocked by required conditions
Build / build-gentoo (push) Failing after 1m6s
Build / download-system-deps (push) Successful in 4m13s
Build / get-source-code (push) Has been cancelled
This commit is contained in:
parent
19e1c862a1
commit
a2c297592d
2 changed files with 2 additions and 2 deletions
|
@ -289,7 +289,7 @@ void HaikuLooperWindow::MessageReceived(BMessage *msg) {
|
||||||
} break;
|
} break;
|
||||||
case CMD_SET_CAT: {
|
case CMD_SET_CAT: {
|
||||||
BBitmap *cat = NULL;
|
BBitmap *cat = NULL;
|
||||||
if (msg->FindBitmap("cat", &cat) != B_OK) {
|
if (msg->FindPointer("cat", &cat) != B_OK) {
|
||||||
cat = NULL;
|
cat = NULL;
|
||||||
}
|
}
|
||||||
UpdateCat(cat);
|
UpdateCat(cat);
|
||||||
|
|
|
@ -149,7 +149,7 @@ void HaikuPrefsWindow::MessageReceived(BMessage *msg) {
|
||||||
set_option<bool>("ui.enable_cat", enable_cat);
|
set_option<bool>("ui.enable_cat", enable_cat);
|
||||||
next_handler->PostMessage(CMD_UPDATE_LABEL_SETTING);
|
next_handler->PostMessage(CMD_UPDATE_LABEL_SETTING);
|
||||||
BMessage *cat_msg = new BMessage(CMD_SET_CAT);
|
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);
|
next_handler->PostMessage(cat_msg);
|
||||||
} break;
|
} break;
|
||||||
case CMD_REVERT: {
|
case CMD_REVERT: {
|
||||||
|
|
Loading…
Reference in a new issue