From c2c2a0217b31b4b4c3c8588378c9a3f18413975c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 22 Apr 2021 05:53:05 +0300 Subject: [PATCH 24/24] sdl2: Drop unused create_themeicon_button_from_unichar() See osdn #42053 Signed-off-by: Marko Lindqvist --- client/gui-sdl2/widget_button.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/gui-sdl2/widget_button.h b/client/gui-sdl2/widget_button.h index f56e220563..abd06cc1a8 100644 --- a/client/gui-sdl2/widget_button.h +++ b/client/gui-sdl2/widget_button.h @@ -1,4 +1,4 @@ -/********************************************************************** +/*********************************************************************** Freeciv - Copyright (C) 2006 - The Freeciv Project This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,10 +19,6 @@ create_utf8_from_char(pCharString, iPtsize), \ flags) -#define create_themeicon_button_from_unichar(pIcon_theme, pDest, pUniChar, pUniCharSize, iPtsize, flags) \ - create_themeicon_button(pIcon, pDest, create_utf8(pUniChar, pUniCharSize, iPtsize), \ - flags) - #define create_themeicon_button_from_chars(pIcon_theme, pDest, pCharString, iPtsize, flags) \ create_themeicon_button(pIcon_theme, pDest, \ create_utf8_from_char(pCharString, \ -- 2.30.2