mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(widget_selectcolor): constify argument.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
28dd27875e
commit
d243d467a8
@ -457,7 +457,7 @@ widget_set_size_rect (Widget * w, WRect * r)
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
widget_selectcolor (Widget * w, gboolean focused, gboolean hotkey)
|
||||
widget_selectcolor (const Widget * w, gboolean focused, gboolean hotkey)
|
||||
{
|
||||
int color;
|
||||
const int *colors;
|
||||
|
@ -213,7 +213,7 @@ void widget_adjust_position (widget_pos_flags_t pos_flags, WRect * r);
|
||||
void widget_set_size (Widget * w, int y, int x, int lines, int cols);
|
||||
void widget_set_size_rect (Widget * w, WRect * r);
|
||||
/* select color for widget in dependence of state */
|
||||
void widget_selectcolor (Widget * w, gboolean focused, gboolean hotkey);
|
||||
void widget_selectcolor (const Widget * w, gboolean focused, gboolean hotkey);
|
||||
cb_ret_t widget_draw (Widget * w);
|
||||
void widget_erase (Widget * w);
|
||||
void widget_set_visibility (Widget * w, gboolean make_visible);
|
||||
|
Loading…
Reference in New Issue
Block a user