diff options
| -rw-r--r-- | lwlib/lwlib-Xm.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index 7924188494f..48730c501c2 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c | |||
| @@ -257,8 +257,10 @@ xm_update_pushbutton (instance, widget, val) | |||
| 257 | } | 257 | } |
| 258 | 258 | ||
| 259 | static void | 259 | static void |
| 260 | xm_update_cascadebutton (widget_instance* instance, Widget widget, | 260 | xm_update_cascadebutton (instance, widget, val) |
| 261 | widget_value* val) | 261 | widget_instance* instance; |
| 262 | Widget widget; | ||
| 263 | widget_value* val; | ||
| 262 | { | 264 | { |
| 263 | /* Should also rebuild the menu by calling ...update_menu... */ | 265 | /* Should also rebuild the menu by calling ...update_menu... */ |
| 264 | XtRemoveAllCallbacks (widget, XmNcascadingCallback); | 266 | XtRemoveAllCallbacks (widget, XmNcascadingCallback); |
| @@ -728,7 +730,10 @@ xm_update_one_value (instance, widget, val) | |||
| 728 | I could not find a way to do that with accelerators. | 730 | I could not find a way to do that with accelerators. |
| 729 | */ | 731 | */ |
| 730 | static void | 732 | static void |
| 731 | activate_button (Widget widget, XtPointer closure, XtPointer call_data) | 733 | activate_button (widget, closure, call_data) |
| 734 | Widget widget; | ||
| 735 | XtPointer closure; | ||
| 736 | XtPointer call_data; | ||
| 732 | { | 737 | { |
| 733 | Widget button = (Widget)closure; | 738 | Widget button = (Widget)closure; |
| 734 | XtCallCallbacks (button, XmNactivateCallback, NULL); | 739 | XtCallCallbacks (button, XmNactivateCallback, NULL); |