summaryrefslogtreecommitdiff
path: root/lwlib/lwlib-Xlw.c
diff options
context:
space:
mode:
Diffstat (limited to 'lwlib/lwlib-Xlw.c')
-rw-r--r--lwlib/lwlib-Xlw.c46
1 files changed, 11 insertions, 35 deletions
diff --git a/lwlib/lwlib-Xlw.c b/lwlib/lwlib-Xlw.c
index 115997d3612..a088b299b8b 100644
--- a/lwlib/lwlib-Xlw.c
+++ b/lwlib/lwlib-Xlw.c
@@ -72,10 +72,7 @@ x_print_complete_resource_name (widget)
if there isn't any highlighted menu item. */
static void
-highlight_hook (w, client_data, call_data)
- Widget w;
- XtPointer client_data;
- XtPointer call_data;
+highlight_hook (Widget w, XtPointer client_data, XtPointer call_data)
{
widget_instance *instance = (widget_instance *) client_data;
@@ -85,29 +82,20 @@ highlight_hook (w, client_data, call_data)
}
static void
-enter_hook (w, client_data, call_data)
- Widget w;
- XtPointer client_data;
- XtPointer call_data;
+enter_hook (Widget w, XtPointer client_data, XtPointer call_data)
{
highlight_hook (w, client_data, call_data);
}
static void
-leave_hook (w, client_data, call_data)
- Widget w;
- XtPointer client_data;
- XtPointer call_data;
+leave_hook (Widget w, XtPointer client_data, XtPointer call_data)
{
highlight_hook (w, client_data, NULL);
}
static void
-pre_hook (w, client_data, call_data)
- Widget w;
- XtPointer client_data;
- XtPointer call_data;
+pre_hook (Widget w, XtPointer client_data, XtPointer call_data)
{
widget_instance* instance = (widget_instance*)client_data;
widget_value* val;
@@ -122,10 +110,7 @@ pre_hook (w, client_data, call_data)
}
static void
-pick_hook (w, client_data, call_data)
- Widget w;
- XtPointer client_data;
- XtPointer call_data;
+pick_hook (Widget w, XtPointer client_data, XtPointer call_data)
{
widget_instance* instance = (widget_instance*)client_data;
widget_value* contents_val = (widget_value*)call_data;
@@ -150,8 +135,7 @@ pick_hook (w, client_data, call_data)
/* creation functions */
static Widget
-xlw_create_menubar (instance)
- widget_instance* instance;
+xlw_create_menubar (widget_instance *instance)
{
Widget widget;
Arg al[5];
@@ -178,8 +162,7 @@ xlw_create_menubar (instance)
}
static Widget
-xlw_create_popup_menu (instance)
- widget_instance* instance;
+xlw_create_popup_menu (widget_instance *instance)
{
Widget popup_shell
= XtCreatePopupShell (instance->info->name, overrideShellWidgetClass,
@@ -214,8 +197,7 @@ xlw_creation_table [] =
};
Boolean
-lw_lucid_widget_p (widget)
- Widget widget;
+lw_lucid_widget_p (Widget widget)
{
WidgetClass the_class = XtClass (widget);
@@ -249,10 +231,7 @@ xlw_update_one_widget (instance, widget, val, deep_p)
}
void
-xlw_update_one_value (instance, widget, val)
- widget_instance* instance;
- Widget widget;
- widget_value* val;
+xlw_update_one_value (widget_instance *instance, Widget widget, widget_value *val)
{
return;
}
@@ -269,9 +248,7 @@ xlw_pop_instance (instance, up)
}
void
-xlw_popup_menu (widget, event)
- Widget widget;
- XEvent *event;
+xlw_popup_menu (Widget widget, XEvent *event)
{
XlwMenuWidget mw;
@@ -304,8 +281,7 @@ xlw_popup_menu (widget, event)
/* Destruction of instances */
void
-xlw_destroy_instance (instance)
- widget_instance* instance;
+xlw_destroy_instance (widget_instance *instance)
{
if (instance->widget)
XtDestroyWidget (instance->widget);