aboutsummaryrefslogtreecommitdiff
path: root/GraphDisplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'GraphDisplay.c')
-rw-r--r--GraphDisplay.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/GraphDisplay.c b/GraphDisplay.c
index c6a953f..7b7ed5c 100644
--- a/GraphDisplay.c
+++ b/GraphDisplay.c
@@ -102,10 +102,7 @@ SetValues(Widget old,
}
#undef NE
- if (XtIsRealized(XtParent((Widget)newgd)))
- XClearArea(XtDisplayOfObject(new),
- XtWindowOfObject(new), 0, 0, 0, 0, True);
- return False;
+ return XtIsRealized(XtParent(new));
}
static void