Mercurial > molko
diff examples/example-notify/example-notify.c @ 465:01f5580e43d1
core: panic -> mlk_panic
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 27 Feb 2023 10:03:52 +0100 |
parents | 5729efd23286 |
children | 0d6206cee6b9 |
line wrap: on
line diff
--- a/examples/example-notify/example-notify.c Mon Feb 27 09:57:15 2023 +0100 +++ b/examples/example-notify/example-notify.c Mon Feb 27 10:03:52 2023 +0100 @@ -52,11 +52,11 @@ init(void) { if (mlk_core_init("fr.malikania", "example-notify") < 0 || ui_init() < 0) - panic(); + mlk_panic(); if (window_open("Example - Notify", W, H) < 0) - panic(); + mlk_panic(); if (mlk_image_openmem(&icon, assets_images_sword, sizeof (assets_images_sword)) < 0) - panic(); + mlk_panic(); } static void