* graphwidget.c: fixed a bug where we'd divide by 0 if min and max x and y were the...
[scdataviz] / graphwidget.h
index be1ebaa..cb2e390 100644 (file)
@@ -23,7 +23,7 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 ** Started on  Thu Jul 17 10:51:32 2008 Johnny Q. Hacker
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 ** Started on  Thu Jul 17 10:51:32 2008 Johnny Q. Hacker
-** Last update Thu Jul 17 10:51:32 2008 Johnny Q. Hacker
+** Last update Thu Oct  8 14:28:34 2009 Johnny Q. Hacker
 */
 
 #ifndef        GRAPHWIDGET_H_
 */
 
 #ifndef        GRAPHWIDGET_H_
 #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())