aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-sorter.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-15 10:49:15 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-15 10:49:15 +0800
commitf60cb1f5371ad819960d43585cdd4b28eb465e59 (patch)
tree22776e01f6c3c6ed8e7298a34ae6b9b6b5abccae /widgets/table/e-table-sorter.h
parentb39be5377514b9bc3c43b7f5172645edd683e683 (diff)
downloadgsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.tar
gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.tar.gz
gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.tar.bz2
gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.tar.lz
gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.tar.xz
gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.tar.zst
gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.zip
ETableConfig derives from GObject (fix warnings).
2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-header-item.c (ethi_popup_customize_view): ETableConfig derives from GObject (fix warnings). * e-table.c: deal with ESorter deriving from GObject. * e-table-sorter.[ch]: this derives from GObject now. svn path=/trunk/; revision=18775
Diffstat (limited to 'widgets/table/e-table-sorter.h')
-rw-r--r--widgets/table/e-table-sorter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/table/e-table-sorter.h b/widgets/table/e-table-sorter.h
index 4bee51fbbd..67be48715a 100644
--- a/widgets/table/e-table-sorter.h
+++ b/widgets/table/e-table-sorter.h
@@ -24,7 +24,7 @@
#ifndef _E_TABLE_SORTER_H_
#define _E_TABLE_SORTER_H_
-#include <gtk/gtkobject.h>
+#include <glib-object.h>
#include <gal/util/e-sorter.h>
#include <gal/e-table/e-table-model.h>
#include <gal/e-table/e-table-subset-variable.h>
@@ -34,10 +34,10 @@
G_BEGIN_DECLS
#define E_TABLE_SORTER_TYPE (e_table_sorter_get_type ())
-#define E_TABLE_SORTER(o) (GTK_CHECK_CAST ((o), E_TABLE_SORTER_TYPE, ETableSorter))
-#define E_TABLE_SORTER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORTER_TYPE, ETableSorterClass))
-#define E_IS_TABLE_SORTER(o) (GTK_CHECK_TYPE ((o), E_TABLE_SORTER_TYPE))
-#define E_IS_TABLE_SORTER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SORTER_TYPE))
+#define E_TABLE_SORTER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TABLE_SORTER_TYPE, ETableSorter))
+#define E_TABLE_SORTER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_TABLE_SORTER_TYPE, ETableSorterClass))
+#define E_IS_TABLE_SORTER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TABLE_SORTER_TYPE))
+#define E_IS_TABLE_SORTER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TABLE_SORTER_TYPE))
typedef struct {
ESorter base;
@@ -65,7 +65,7 @@ typedef struct {
ESorterClass parent_class;
} ETableSorterClass;
-GtkType e_table_sorter_get_type (void);
+GType e_table_sorter_get_type (void);
ETableSorter *e_table_sorter_new (ETableModel *etm,
ETableHeader *full_header,
ETableSortInfo *sort_info);