aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-11-02 04:35:26 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-02 04:35:26 +0800
commitc5e2fd8592f00928776550e078f9eeba31caa163 (patch)
tree5be84c3f277c1ce679b644c04ad8334c7f345a2a /widgets/e-table.c
parentc8d14b53ef41de80458405ffadb0721458b7add9 (diff)
downloadgsoc2013-evolution-c5e2fd8592f00928776550e078f9eeba31caa163.tar.gz
gsoc2013-evolution-c5e2fd8592f00928776550e078f9eeba31caa163.tar.zst
gsoc2013-evolution-c5e2fd8592f00928776550e078f9eeba31caa163.zip
Added my widgets stuff -miguel
svn path=/trunk/; revision=1364
Diffstat (limited to 'widgets/e-table.c')
-rw-r--r--widgets/e-table.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/widgets/e-table.c b/widgets/e-table.c
new file mode 100644
index 0000000000..427f527185
--- /dev/null
+++ b/widgets/e-table.c
@@ -0,0 +1,36 @@
+/*
+ * E-table-view.c: A graphical view of a Table.
+ *
+ * Author:
+ * Miguel de Icaza (miguel@gnu.org)
+ *
+ * Copyright 1999, International GNOME Support
+ */
+#include <config.h>
+#include <libgnomeui/gnome-canvas.h>
+#include "e-table.h"
+
+#define PARENT_OBJECT_TYPE gnome_canvas_get_type ()
+
+GtkType
+e_table_get_type (void)
+{
+ static GtkType type = 0;
+
+ if (!type){
+ GtkTypeInfo info = {
+ "ETable",
+ sizeof (ETable),
+ sizeof (ETableClass),
+ (GtkClassInitFunc) e_table_class_init,
+ (GtkObjectInitFunc) NULL,
+ NULL, /* reserved 1 */
+ NULL, /* reserved 2 */
+ (GtkClassInitFunc) NULL
+ };
+
+ type = gtk_type_unique (PARENT_OBJECT_TYPE, &info);
+ }
+
+ return type;
+}