aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-search.h
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2002-11-05 00:18:45 +0800
committerMike Kestner <mkestner@src.gnome.org>2002-11-05 00:18:45 +0800
commit65269c688256d025bbd5da06af484dcc536c178d (patch)
treee1edd70c0410ebc4d9dda363b2debf45c8edd5f8 /widgets/table/e-table-search.h
parentdcb12b11c9f4e35d614629c487643ace47068c32 (diff)
downloadgsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.tar.gz
gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.tar.zst
gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.zip
use GObject api for ETableHeader use GObject api on ETableHeader
2002-11-04 Mike Kestner <mkestner@ximian.com> * e-table-group.c : use GObject api for ETableHeader * e-table-header-item.c : use GObject api on ETableHeader * e-table-header.[ch] : GObjectify * e-table-item.c : use GObject api on ETableHeader * e-table-search.[ch] : GObjectify * e-table-sorted.c : use GObject api for ETableHeader * e-table-sorter.c : use GObject api for ETableHeader * e-table-specification.[ch] : GObjectify * e-table-utils.c : use GObject api for ETableHeader * e-tree-sorted.c : use GObject api for ETableHeader * e-tree.c : use GObject api on Header, Spec, and Search svn path=/trunk/; revision=18531
Diffstat (limited to 'widgets/table/e-table-search.h')
-rw-r--r--widgets/table/e-table-search.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/widgets/table/e-table-search.h b/widgets/table/e-table-search.h
index 0c3e8b9bd9..b3cdd9ff41 100644
--- a/widgets/table/e-table-search.h
+++ b/widgets/table/e-table-search.h
@@ -29,10 +29,11 @@
G_BEGIN_DECLS
#define E_TABLE_SEARCH_TYPE (e_table_search_get_type ())
-#define E_TABLE_SEARCH(o) (GTK_CHECK_CAST ((o), E_TABLE_SEARCH_TYPE, ETableSearch))
-#define E_TABLE_SEARCH_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SEARCH_TYPE, ETableSearchClass))
-#define E_IS_TABLE_SEARCH(o) (GTK_CHECK_TYPE ((o), E_TABLE_SEARCH_TYPE))
-#define E_IS_TABLE_SEARCH_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SEARCH_TYPE))
+#define E_TABLE_SEARCH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TABLE_SEARCH_TYPE, ETableSearch))
+#define E_TABLE_SEARCH_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_TABLE_SEARCH_TYPE, ETableSearchClass))
+#define E_IS_TABLE_SEARCH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TABLE_SEARCH_TYPE))
+#define E_IS_TABLE_SEARCH_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TABLE_SEARCH_TYPE))
+#define E_TABLE_SEARCH_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), E_TABLE_SEARCH_TYPE, ETableSearchClass))
typedef struct _ETableSearchPrivate ETableSearchPrivate;
@@ -41,13 +42,13 @@ typedef enum {
} ETableSearchFlags;
typedef struct {
- GtkObject base;
+ GObject base;
ETableSearchPrivate *priv;
} ETableSearch;
typedef struct {
- GtkObjectClass parent_class;
+ GObjectClass parent_class;
/*
* Signals
@@ -56,7 +57,7 @@ typedef struct {
void (*accept) (ETableSearch *ets);
} ETableSearchClass;
-GtkType e_table_search_get_type (void);
+GType e_table_search_get_type (void);
ETableSearch *e_table_search_new (void);
/**/