aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-without.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-15 08:23:44 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-15 08:23:44 +0800
commit27fbc0098ca72b45e0c287027940bee5c048e2b7 (patch)
treecafe6111804b99ef3aae482bf7c52777a6af6803 /widgets/table/e-table-without.h
parentc27902bcebc0ce445bb19bd315f40f5d672ace20 (diff)
downloadgsoc2013-evolution-27fbc0098ca72b45e0c287027940bee5c048e2b7.tar
gsoc2013-evolution-27fbc0098ca72b45e0c287027940bee5c048e2b7.tar.gz
gsoc2013-evolution-27fbc0098ca72b45e0c287027940bee5c048e2b7.tar.bz2
gsoc2013-evolution-27fbc0098ca72b45e0c287027940bee5c048e2b7.tar.lz
gsoc2013-evolution-27fbc0098ca72b45e0c287027940bee5c048e2b7.tar.xz
gsoc2013-evolution-27fbc0098ca72b45e0c287027940bee5c048e2b7.tar.zst
gsoc2013-evolution-27fbc0098ca72b45e0c287027940bee5c048e2b7.zip
this subclasses from GObject now, not GtkObject. don't use GtkObject
2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-without.[ch]: this subclasses from GObject now, not GtkObject. don't use GtkObject (especially casts to it) inside the code. * e-table-config-no-group.glade: libglade-convert. * e-table-config.glade: same. * e-table-field-chooser.glade: same. * e-table-group.glade: same. svn path=/trunk/; revision=18766
Diffstat (limited to 'widgets/table/e-table-without.h')
-rw-r--r--widgets/table/e-table-without.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/widgets/table/e-table-without.h b/widgets/table/e-table-without.h
index 90ab93df9f..6bcbdcdc65 100644
--- a/widgets/table/e-table-without.h
+++ b/widgets/table/e-table-without.h
@@ -32,10 +32,10 @@ extern "C" {
#endif /* __cplusplus */
#define E_TABLE_WITHOUT_TYPE (e_table_without_get_type ())
-#define E_TABLE_WITHOUT(o) (GTK_CHECK_CAST ((o), E_TABLE_WITHOUT_TYPE, ETableWithout))
-#define E_TABLE_WITHOUT_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_WITHOUT_TYPE, ETableWithoutClass))
-#define E_IS_TABLE_WITHOUT(o) (GTK_CHECK_TYPE ((o), E_TABLE_WITHOUT_TYPE))
-#define E_IS_TABLE_WITHOUT_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_WITHOUT_TYPE))
+#define E_TABLE_WITHOUT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TABLE_WITHOUT_TYPE, ETableWithout))
+#define E_TABLE_WITHOUT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_TABLE_WITHOUT_TYPE, ETableWithoutClass))
+#define E_IS_TABLE_WITHOUT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TABLE_WITHOUT_TYPE))
+#define E_IS_TABLE_WITHOUT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TABLE_WITHOUT_TYPE))
typedef struct _ETableWithoutPrivate ETableWithoutPrivate;
typedef void *(*ETableWithoutGetKeyFunc) (ETableModel *source,
@@ -56,7 +56,8 @@ typedef struct {
ETableSubsetClass parent_class;
} ETableWithoutClass;
-GtkType e_table_without_get_type (void);
+
+GType e_table_without_get_type (void);
ETableModel *e_table_without_new (ETableModel *source,
GHashFunc hash_func,
GCompareFunc compare_func,