mirror of https://github.com/MidnightCommander/mc
lib/widget/buttonbar.c: cleanup -Wcast-qual warning.
Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3231160d99
commit
a5cd35d11e
|
@ -261,8 +261,8 @@ buttonbar_new (gboolean visible)
|
|||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
buttonbar_set_label (WButtonBar * bb, int idx, const char *text,
|
||||
const global_keymap_t * keymap, const Widget * receiver)
|
||||
buttonbar_set_label (WButtonBar * bb, int idx, const char *text, const global_keymap_t * keymap,
|
||||
Widget * receiver)
|
||||
{
|
||||
if ((bb != NULL) && (idx >= 1) && (idx <= BUTTONBAR_LABELS_NUM))
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@ typedef struct WButtonBar
|
|||
|
||||
WButtonBar *buttonbar_new (gboolean visible);
|
||||
void buttonbar_set_label (WButtonBar * bb, int idx, const char *text,
|
||||
const global_keymap_t * keymap, const Widget * receiver);
|
||||
const global_keymap_t * keymap, Widget * receiver);
|
||||
WButtonBar *find_buttonbar (const WDialog * h);
|
||||
|
||||
/*** inline functions ****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue