summaryrefslogtreecommitdiff
path: root/src/HookObj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/HookObj.c')
-rw-r--r--src/HookObj.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/HookObj.c b/src/HookObj.c
index 697974a..98417f9 100644
--- a/src/HookObj.c
+++ b/src/HookObj.c
@@ -70,7 +70,7 @@ externaldef(hookobjclassrec) HookObjClassRec hookObjClassRec = {
/* class_part_initialize*/ NULL,
/* class_inited */ FALSE,
/* initialize */ Initialize,
- /* initialize_hook */ NULL,
+ /* initialize_hook */ NULL,
/* realize */ NULL,
/* actions */ NULL,
/* num_actions */ 0,
@@ -85,9 +85,9 @@ externaldef(hookobjclassrec) HookObjClassRec hookObjClassRec = {
/* resize */ NULL,
/* expose */ NULL,
/* set_values */ NULL,
- /* set_values_hook */ NULL,
- /* set_values_almost */ NULL,
- /* get_values_hook */ GetValuesHook,
+ /* set_values_hook */ NULL,
+ /* set_values_almost */ NULL,
+ /* get_values_hook */ GetValuesHook,
/* accept_focus */ NULL,
/* version */ XtVersion,
/* callback_offsets */ NULL,
@@ -101,7 +101,7 @@ externaldef(hookobjclassrec) HookObjClassRec hookObjClassRec = {
}
};
-externaldef(hookObjectClass) WidgetClass hookObjectClass =
+externaldef(hookObjectClass) WidgetClass hookObjectClass =
(WidgetClass)&hookObjClassRec;
static void FreeShellList(
@@ -114,21 +114,21 @@ static void FreeShellList(
XtFree((char*)h->hooks.shells);
}
-static void Initialize(req, new, args, num_args)
- Widget req, new;
- ArgList args;
- Cardinal* num_args;
+static void Initialize(
+ Widget req,
+ Widget new,
+ ArgList args,
+ Cardinal* num_args)
{
HookObject w = (HookObject) new;
w->hooks.max_shells = 0;
XtAddCallback (new, XtNdestroyCallback, FreeShellList, (XtPointer) NULL);
}
-static void GetValuesHook(widget, args, num_args)
- Widget widget;
- ArgList args;
- Cardinal* num_args;
+static void GetValuesHook(
+ Widget widget,
+ ArgList args,
+ Cardinal* num_args)
{
/* get the XtNshells and XtNnumShells pseudo-resources */
}
-