mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(hotkey_draw): constify argument.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d243d467a8
commit
ee5bf223fb
@ -262,7 +262,7 @@ hotkey_equal (const hotkey_t hotkey1, const hotkey_t hotkey2)
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
hotkey_draw (Widget * w, const hotkey_t hotkey, gboolean focused)
|
||||
hotkey_draw (const Widget * w, const hotkey_t hotkey, gboolean focused)
|
||||
{
|
||||
if (hotkey.start[0] != '\0')
|
||||
{
|
||||
|
@ -198,7 +198,7 @@ int hotkey_width (const hotkey_t hotkey);
|
||||
/* compare two hotkeys */
|
||||
gboolean hotkey_equal (const hotkey_t hotkey1, const hotkey_t hotkey2);
|
||||
/* draw hotkey of widget */
|
||||
void hotkey_draw (Widget * w, const hotkey_t hotkey, gboolean focused);
|
||||
void hotkey_draw (const Widget * w, const hotkey_t hotkey, gboolean focused);
|
||||
/* get text of hotkey */
|
||||
char *hotkey_get_text (const hotkey_t hotkey);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user