summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/X11/ResConfigP.h3
-rw-r--r--src/Create.c4
-rw-r--r--src/ResConfig.c3
3 files changed, 6 insertions, 4 deletions
diff --git a/include/X11/ResConfigP.h b/include/X11/ResConfigP.h
index 1e1d85a..528bde2 100644
--- a/include/X11/ResConfigP.h
+++ b/include/X11/ResConfigP.h
@@ -68,7 +68,8 @@ _XFUNCPROTOBEGIN
extern void _XtResourceConfigurationEH(
Widget /* w */,
XtPointer /* client_data */,
- XEvent * /* event */
+ XEvent * /* event */,
+ Boolean * /* continue_to_dispatch */
);
_XFUNCPROTOEND
diff --git a/src/Create.c b/src/Create.c
index 5570e93..36e5f5b 100644
--- a/src/Create.c
+++ b/src/Create.c
@@ -666,7 +666,7 @@ _XtCreatePopupShell(String name,
#ifndef X_NO_RESOURCE_CONFIGURATION_MANAGEMENT
XtAddEventHandler(widget, (EventMask) PropertyChangeMask, FALSE,
- (XtEventHandler) _XtResourceConfigurationEH, NULL);
+ _XtResourceConfigurationEH, NULL);
#endif
return (widget);
}
@@ -716,7 +716,7 @@ _XtAppCreateShell(String name,
#ifndef X_NO_RESOURCE_CONFIGURATION_MANAGEMENT
XtAddEventHandler(shell, (EventMask) PropertyChangeMask, FALSE,
- (XtEventHandler) _XtResourceConfigurationEH, NULL);
+ _XtResourceConfigurationEH, NULL);
#endif
return shell;
diff --git a/src/ResConfig.c b/src/ResConfig.c
index 2ba68b0..b7dc8b0 100644
--- a/src/ResConfig.c
+++ b/src/ResConfig.c
@@ -881,7 +881,8 @@ dump_widget_tree(Widget w, int indent)
void
_XtResourceConfigurationEH(Widget w,
XtPointer client_data _X_UNUSED,
- XEvent *event)
+ XEvent *event,
+ Boolean *continue_to_dispatch _X_UNUSED)
{
Atom actual_type;
int actual_format;