diff src/libmlk-ui/ui/gridmenu.c @ 411:d74f53299252

make: add basic GNU make support
author David Demelier <markand@malikania.fr>
date Fri, 07 Oct 2022 14:35:31 +0200
parents df5e1fea1d2e
children 8f59201dc76b
line wrap: on
line diff
--- a/src/libmlk-ui/ui/gridmenu.c	Fri Sep 09 13:30:34 2022 +0200
+++ b/src/libmlk-ui/ui/gridmenu.c	Fri Oct 07 14:35:31 2022 +0200
@@ -27,7 +27,6 @@
 #include <core/texture.h>
 #include <core/trace.h>
 
-#include "ui_p.h"
 #include "frame.h"
 #include "label.h"
 #include "gridmenu.h"
@@ -83,7 +82,7 @@
 	 * is outside of the elements.
 	 */
 	if (reqw > menu->w) {
-		tracef(_("gridmenu width is too small: %u < %u"), menu->w, reqw);
+		tracef("gridmenu width is too small: %u < %u", menu->w, reqw);
 		menu->spacew = 1;
 	} else if (menu->ncols > 1) {
 		reqw -= theme->padding * 2;
@@ -91,7 +90,7 @@
 	}
 
 	if (reqh > menu->h) {
-		tracef(_("gridmenu height is too small: %u < %u"), menu->h, reqh);
+		tracef("gridmenu height is too small: %u < %u", menu->h, reqh);
 		menu->spaceh = 1;
 	} else if (menu->nrows > 1) {
 		reqh -= theme->padding * 2;