diff options
Diffstat (limited to 'src/SetValues.c')
-rw-r--r-- | src/SetValues.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SetValues.c b/src/SetValues.c index a50faab..a326b0f 100644 --- a/src/SetValues.c +++ b/src/SetValues.c @@ -151,8 +151,6 @@ CallConstraintSetValues(ConstraintWidgetClass class, XtSetValuesFunc set_values; if ((WidgetClass) class != constraintWidgetClass) { - ConstraintWidgetClass superclass; - if (class == NULL) { XtAppErrorMsg(XtWidgetToApplicationContext(current), "invalidClass", "constraintSetValue", @@ -161,6 +159,8 @@ CallConstraintSetValues(ConstraintWidgetClass class, NULL, NULL); } else { + ConstraintWidgetClass superclass; + LOCK_PROCESS; superclass = (ConstraintWidgetClass) class->core_class.superclass; UNLOCK_PROCESS; |