diff --git a/lib/widget/buttonbar.c b/lib/widget/buttonbar.c index d15b9fc47..420ffd373 100644 --- a/lib/widget/buttonbar.c +++ b/lib/widget/buttonbar.c @@ -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)) { diff --git a/lib/widget/buttonbar.h b/lib/widget/buttonbar.h index 83f67bc1f..922240e9a 100644 --- a/lib/widget/buttonbar.h +++ b/lib/widget/buttonbar.h @@ -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 ****************************************************************************/