summaryrefslogtreecommitdiff
path: root/src/PopupCB.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2005-02-21 21:08:27 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2005-02-21 21:08:27 +0000
commit85eb751e4e1683af6cee3ee9dce29f74911a639d (patch)
treeb40f699ee646462a8f223b919ba68dda1d8fc371 /src/PopupCB.c
parent94150cb72d9d641c64325cd70323d93b9a3701a5 (diff)
Convert lib/Xt to ANSI C (Thomas Dickey). Fixes for a few valgrind warningsXORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1
(Thomas Dickey).
Diffstat (limited to 'src/PopupCB.c')
-rw-r--r--src/PopupCB.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/PopupCB.c b/src/PopupCB.c
index 25ea17d..eca2352 100644
--- a/src/PopupCB.c
+++ b/src/PopupCB.c
@@ -50,20 +50,20 @@ SOFTWARE.
#include "IntrinsicI.h"
/* ARGSUSED */
-void XtCallbackNone(widget, closure, call_data)
- Widget widget;
- XtPointer closure;
- XtPointer call_data;
+void XtCallbackNone(
+ Widget widget,
+ XtPointer closure,
+ XtPointer call_data)
{
XtSetSensitive(widget, FALSE);
_XtPopup((Widget) closure, XtGrabNone, FALSE);
} /* XtCallbackNone */
/* ARGSUSED */
-void XtCallbackNonexclusive(widget, closure, call_data)
- Widget widget;
- XtPointer closure;
- XtPointer call_data;
+void XtCallbackNonexclusive(
+ Widget widget,
+ XtPointer closure,
+ XtPointer call_data)
{
XtSetSensitive(widget, FALSE);
@@ -71,10 +71,10 @@ void XtCallbackNonexclusive(widget, closure, call_data)
} /* XtCallbackNonexclusive */
/* ARGSUSED */
-void XtCallbackExclusive(widget, closure, call_data)
- Widget widget;
- XtPointer closure;
- XtPointer call_data;
+void XtCallbackExclusive(
+ Widget widget,
+ XtPointer closure,
+ XtPointer call_data)
{
XtSetSensitive(widget, FALSE);
_XtPopup((Widget) closure, XtGrabExclusive, FALSE);