* Updated files. Now it compiles (though it crashes).
[scdataviz] / graphwidget.h
index d580adf..be1ebaa 100644 (file)
@@ -5,27 +5,29 @@
 ** Login   <solarion@johnathan>
 ** 
 
-Copyright (C) 2008 Joseph Pingenot
 
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
 
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU Lesser General Public License for more details.
+    Copyright (C) 2008 Joseph Pingenot
 
-You should have received a copy of the GNU Lesser General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Affero General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Affero General Public License for more details.
+
+    You should have received a copy of the GNU Affero General Public License
+    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
 */
 
-#ifndef        GRAPH_H_
-# define       GRAPH_H_
+#ifndef        GRAPHWIDGET_H_
+#define GRAPHWIDGET_H_
 
 #include <gtk/gtkdrawingarea.h>
 #include <graph.h>
@@ -47,8 +49,8 @@ typedef struct _GraphWidgetClass {
 #define IS_GRAPH_WIDGET_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), GRAPH_WIDGET_CLASS_TYPE))
 #define GRAPH_WIDGET_GET_CLASS (G_TYPE_INSTANCE_GET_CLASS ((obj), GRAPH_WIDGET, GraphWidgetClass))
 
-GtkWidget* graph_widget_new(Graph* graph);
+GtkWidget* graph_widget_new(void);
 
-Graph* get_graph(GraphWidget* gw);
+Graph* graph_widget_get_graph(GraphWidget* gw);
 
-#endif             /* !GRAPH_H_ */
+#endif             /* !GRAPHWIDGET_H_ */