It works! Yay!
[scdataviz] / graph.h
diff --git a/graph.h b/graph.h
index 44ec6d7..33112a5 100644 (file)
--- a/graph.h
+++ b/graph.h
@@ -32,7 +32,7 @@
 typedef enum {SQUARE, CIRCLE, STAR, PLUS, MINUS, CROSS} graph_symbol;
 
 typedef struct _Graph {
-  GObject parent;
+  GObject parent_instance;
   /*Array of n_points sets of x,y coords*/
   GPtrArray *points;
   double maxx;
@@ -43,7 +43,7 @@ typedef struct _Graph {
 } Graph;
 
 typedef struct _GraphClass {
-  GObject parent;
+  GObjectClass parent_class;
 } GraphClass;
 
 #define GRAPH_TYPE (graph_get_type())