summaryrefslogtreecommitdiff
path: root/svpopup.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
commitef6bf0e77229ee34d91221ee4c5e5695ee083ed8 (patch)
treecd68ec2972de315b910ef8fd12c777e52a41ff82 /svpopup.c
parentefce7cb078dd34e9e9f7d6f5f5cdd0c8ef267691 (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'svpopup.c')
-rw-r--r--svpopup.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/svpopup.c b/svpopup.c
index cd0e504..cccfee0 100644
--- a/svpopup.c
+++ b/svpopup.c
@@ -25,6 +25,7 @@ in this Software without prior written authorization from The Open Group.
*
* Author: Chris D. Peterson, MIT X Consortium
*/
+/* $XFree86: xc/programs/editres/svpopup.c,v 1.6 2001/12/14 20:00:43 dawes Exp $ */
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h> /* Get standard string definations. */
@@ -32,8 +33,6 @@ in this Software without prior written authorization from The Open Group.
#include <X11/cursorfont.h>
#include <X11/Shell.h>
-#include "editresP.h"
-
#include <X11/Xaw/AsciiText.h>
#include <X11/Xaw/Cardinals.h>
#include <X11/Xaw/Command.h>
@@ -46,11 +45,12 @@ in this Software without prior written authorization from The Open Group.
#include <X11/extensions/XKBbells.h>
#endif
-extern void SetMessage(), SetCommand(), InsertWidgetFromNode();
-extern void GetAllStrings(), PopupCentered();
+#include "editresP.h"
-static void _SetField(), CreateSetValuesPopup();
-static void DoSetValues(), CancelSetValues();
+static void _SetField ( Widget new, Widget old );
+static void CreateSetValuesPopup ( Widget parent, ScreenData * scr_data );
+static void DoSetValues ( Widget w, XtPointer junk, XtPointer garbage );
+static void CancelSetValues ( Widget w, XtPointer junk, XtPointer garbage );
/* Function Name: PopupSetValues
* Description: This function pops up the setvalues dialog
@@ -163,7 +163,7 @@ Widget new, old;
Pixel new_border, old_border, old_bg;
if (!XtIsSensitive(new)) {
-#if XKB
+#ifdef XKB
/* Don't set field to an inactive Widget. */
XkbStdBell(XtDisplay(old), XtWindow(new), 0, XkbBI_InvalidLocation);
#else