diff libmlk-ui/mlk/ui/notify.c @ 472:bc5483849614

core: texture -> mlk_texture
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 11:24:38 +0100
parents 90a097b1aa0f
children 02b16dd49b54
line wrap: on
line diff
--- a/libmlk-ui/mlk/ui/notify.c	Mon Feb 27 11:18:52 2023 +0100
+++ b/libmlk-ui/mlk/ui/notify.c	Mon Feb 27 11:24:38 2023 +0100
@@ -115,7 +115,7 @@
 static void
 draw_icon(const struct geo *geo, const struct notify *n)
 {
-	texture_draw(n->icon, geo->icon_x, geo->icon_y);
+	mlk_texture_draw(n->icon, geo->icon_x, geo->icon_y);
 }
 
 #include <stdio.h>
@@ -161,7 +161,7 @@
 }
 
 void
-notify(const struct texture *icon, const char *title, const char *body)
+notify(const struct mlk_texture *icon, const char *title, const char *body)
 {
 	assert(icon);
 	assert(title);