diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:49 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:49 +0000 |
commit | bdc0667ef29e24b1a2188b11546d843a7d3e5ef6 (patch) | |
tree | e0a23167aca0fb1127f4cd78edf458b633b31eac /src/SetValues.c | |
parent | 6a13c9e08bb042c81ae904c44a38a50d785c824e (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'src/SetValues.c')
-rw-r--r-- | src/SetValues.c | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/src/SetValues.c b/src/SetValues.c index e7f0c2e..7465aff 100644 --- a/src/SetValues.c +++ b/src/SetValues.c @@ -58,6 +58,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/Xt/SetValues.c,v 1.3 2001/12/14 19:56:30 dawes Exp $ */ #include "IntrinsicI.h" @@ -66,15 +67,12 @@ in this Software without prior written authorization from The Open Group. */ -extern void _XtCopyFromArg(); -extern XrmResourceList* _XtCreateIndirectionTable(); - -static void SetValues(base, res, num_resources, args, num_args) - char* base; /* Base address to write values to */ - XrmResourceList* res; /* The current resource values. */ - register Cardinal num_resources; /* number of items in resources */ - ArgList args; /* The resource values to set */ - Cardinal num_args; /* number of items in arg list */ +static void SetValues( + char* base, /* Base address to write values to */ + XrmResourceList* res, /* The current resource values. */ + register Cardinal num_resources, /* number of items in resources */ + ArgList args, /* The resource values to set */ + Cardinal num_args) /* number of items in arg list */ { register ArgList arg; register int i; @@ -97,11 +95,13 @@ static void SetValues(base, res, num_resources, args, num_args) } } /* SetValues */ -static Boolean CallSetValues (class, current, request, new, args, num_args) - WidgetClass class; - Widget current, request, new; - ArgList args; - Cardinal num_args; +static Boolean CallSetValues ( + WidgetClass class, + Widget current, + Widget request, + Widget new, + ArgList args, + Cardinal num_args) { Boolean redisplay = FALSE; WidgetClass superclass; @@ -130,11 +130,13 @@ static Boolean CallSetValues (class, current, request, new, args, num_args) } static Boolean -CallConstraintSetValues (class, current, request, new, args, num_args) - ConstraintWidgetClass class; - Widget current, request, new; - ArgList args; - Cardinal num_args; +CallConstraintSetValues ( + ConstraintWidgetClass class, + Widget current, + Widget request, + Widget new, + ArgList args, + Cardinal num_args) { Boolean redisplay = FALSE; XtSetValuesFunc set_values; @@ -189,7 +191,7 @@ void XtSetValues(w, args, num_args) XtGeometryResult result; XtWidgetGeometry geoReq, geoReply; WidgetClass wc; - ConstraintWidgetClass cwc; + ConstraintWidgetClass cwc = 0; Boolean hasConstraints; XtAlmostProc set_values_almost; XtAppContext app = XtWidgetToApplicationContext(w); |