From 3c68b8158c7b83d2c99f25adb41082b2bc518f9c Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 29 Sep 2014 16:06:51 +0000 Subject: unify --- Sgraph.c | 2 +- SgraphP.h | 28 +++++++++++----------------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/Sgraph.c b/Sgraph.c index 0c438c2..cf08fac 100644 --- a/Sgraph.c +++ b/Sgraph.c @@ -19,7 +19,7 @@ #include #include #include -#include +//#include #include "SgraphP.h" #include diff --git a/SgraphP.h b/SgraphP.h index 19ed24b..ba138bc 100644 --- a/SgraphP.h +++ b/SgraphP.h @@ -20,23 +20,6 @@ #include "Sgraph.h" -/* include superclass private header file */ -#include - -/* define unique representation types not found in */ -#define XtRSgraphResource "SgraphResource" - -typedef struct { - XtPointer extension; -} SgraphClassPart; - -typedef struct _SgraphClassRec { - CoreClassPart core_class; - SgraphClassPart sgraph_class; -} SgraphClassRec; - -extern SgraphClassRec sgraphClassRec; - typedef struct { Pixel background; Pixel foreground; @@ -64,4 +47,15 @@ typedef struct _SgraphRec { SgraphPart sgraph; } SgraphRec; +typedef struct { + XtPointer extension; +} SgraphClassPart; + +typedef struct _SgraphClassRec { + CoreClassPart core_class; + SgraphClassPart sgraph_class; +} SgraphClassRec; + +extern SgraphClassRec sgraphClassRec; + #endif -- cgit v1.2.3