diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:57 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:57 +0000 |
commit | 6e4057717156adf6dba781d30db3f60a475ea7e4 (patch) | |
tree | cd68ec2972de315b910ef8fd12c777e52a41ff82 /svpopup.c | |
parent | efce7cb078dd34e9e9f7d6f5f5cdd0c8ef267691 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'svpopup.c')
-rw-r--r-- | svpopup.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 |