It works! Yay!
[scdataviz] / graphwidget.h
index be1ebaa..3b57af9 100644 (file)
 #include <graph.h>
 
 typedef struct _GraphWidget {
 #include <graph.h>
 
 typedef struct _GraphWidget {
-  GtkDrawingArea parent;
+  GtkDrawingArea parent_instance;
   Graph *graph;
 } GraphWidget;
 
 typedef struct _GraphWidgetClass {
   GtkDrawingAreaClass parent_class;
   Graph *graph;
 } GraphWidget;
 
 typedef struct _GraphWidgetClass {
   GtkDrawingAreaClass parent_class;
-  
 } GraphWidgetClass;
 
 #define GRAPH_WIDGET_TYPE (graph_widget_get_type())
 } GraphWidgetClass;
 
 #define GRAPH_WIDGET_TYPE (graph_widget_get_type())