aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-15 18:24:52 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-15 18:24:52 +0000
commitb58b3d8b52c41f604469bbb8f7c90d39dbccb33a (patch)
tree7d9fe7232b3a5caeb6e0b33cf276621245c43790
parente729c329324cabf53b16aeafceabd90162505c5b (diff)
remove define
-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 */