aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Sgraph.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Sgraph.c b/Sgraph.c
index 6ac9329..d880c60 100644
--- a/Sgraph.c
+++ b/Sgraph.c
@@ -66,12 +66,10 @@ static XtActionsRec actions[] = {
static char translations[] = "<Key>:" "sgraph()\n";
-
-#define Superclass (&widgetClassRec)
SgraphClassRec sgraphClassRec = {
/* core */
{
- (WidgetClass) Superclass, /* superclass */
+ &widgetClassRec, /* superclass */
"Sgraph", /* class_name */
sizeof(SgraphRec), /* widget_size */
NULL, /* class_initialize */