mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
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
|
void
|
||||||
buttonbar_set_label (WButtonBar * bb, int idx, const char *text,
|
buttonbar_set_label (WButtonBar * bb, int idx, const char *text, const global_keymap_t * keymap,
|
||||||
const global_keymap_t * keymap, const Widget * receiver)
|
Widget * receiver)
|
||||||
{
|
{
|
||||||
if ((bb != NULL) && (idx >= 1) && (idx <= BUTTONBAR_LABELS_NUM))
|
if ((bb != NULL) && (idx >= 1) && (idx <= BUTTONBAR_LABELS_NUM))
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@ typedef struct WButtonBar
|
|||||||
|
|
||||||
WButtonBar *buttonbar_new (gboolean visible);
|
WButtonBar *buttonbar_new (gboolean visible);
|
||||||
void buttonbar_set_label (WButtonBar * bb, int idx, const char *text,
|
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);
|
WButtonBar *find_buttonbar (const WDialog * h);
|
||||||
|
|
||||||
/*** inline functions ****************************************************************************/
|
/*** inline functions ****************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user