From 4c899d60767a92e081e61fbb8271b2b9f2e29be5 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 22 Apr 2021 05:53:05 +0300 Subject: [PATCH 45/45] sdl2: Drop unused create_themeicon_button_from_unichar() See osdn #42053 Signed-off-by: Marko Lindqvist --- client/gui-sdl2/widget_button.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/gui-sdl2/widget_button.h b/client/gui-sdl2/widget_button.h index 8bb76afc31..0710996e9a 100644 --- a/client/gui-sdl2/widget_button.h +++ b/client/gui-sdl2/widget_button.h @@ -19,10 +19,6 @@ create_utf8_from_char(char_string, ptsize), \ flags) -#define create_themeicon_button_from_unichar(icon_theme, pdest, unichar, unichar_size, ptsize, flags) \ - create_themeicon_button(icon, pdest, create_utf8(unichar, unichar_size, ptsize), \ - flags) - #define create_themeicon_button_from_chars(icon_theme, pdest, char_string, ptsize, flags) \ create_themeicon_button(icon_theme, pdest, \ create_utf8_from_char(char_string, \ -- 2.30.2