diff options
author | Mike Kestner <mkestner@ximian.com> | 2002-11-05 23:05:25 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2002-11-05 23:05:25 +0800 |
commit | f8172191adf212f4829e05be6a224c13e10b898c (patch) | |
tree | 5bbc674abf3103da66193d98af573cf92ae149a0 /widgets/table/e-tree-simple.h | |
parent | 6146f8e036db5c9e816232dfd31fe064427929c6 (diff) | |
download | gsoc2013-evolution-f8172191adf212f4829e05be6a224c13e10b898c.tar.gz gsoc2013-evolution-f8172191adf212f4829e05be6a224c13e10b898c.tar.zst gsoc2013-evolution-f8172191adf212f4829e05be6a224c13e10b898c.zip |
use GObject api for models GObjectify GObjectify GObjectify GObjectify
2002-11-05 Mike Kestner <mkestner@ximian.com>
* e-table-item.c : use GObject api for models
* e-table-memory-callbacks.[ch] : GObjectify
* e-table-memory-store.[ch] : GObjectify
* e-table-memory.[ch] : GObjectify
* e-table-model.[ch] : GObjectify
* e-table-one.[ch] : GObjectify
* e-table-simple.[ch] : GObjectify
* e-tree-memory.[ch] : GObjectify
* e-tree-model.[ch] : GObjectify
* e-tree-selection-model.c : use GObject api for models
* e-tree-simple.[ch] : GObjectify
* e-tree-sorted.[ch] : GObjectify
* e-tree-table-adapter.[ch] : GObjectify
* e-tree.c : use GObject api for models
svn path=/trunk/; revision=18553
Diffstat (limited to 'widgets/table/e-tree-simple.h')
-rw-r--r-- | widgets/table/e-tree-simple.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/widgets/table/e-tree-simple.h b/widgets/table/e-tree-simple.h index 212fc78176..f9980c9544 100644 --- a/widgets/table/e-tree-simple.h +++ b/widgets/table/e-tree-simple.h @@ -27,15 +27,14 @@ #include <gal/e-table/e-tree-model.h> #include <gal/e-table/e-table-simple.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define E_TREE_SIMPLE_TYPE (e_tree_simple_get_type ()) -#define E_TREE_SIMPLE(o) (GTK_CHECK_CAST ((o), E_TREE_SIMPLE_TYPE, ETreeSimple)) -#define E_TREE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TREE_SIMPLE_TYPE, ETreeSimpleClass)) -#define E_IS_TREE_SIMPLE(o) (GTK_CHECK_TYPE ((o), E_TREE_SIMPLE_TYPE)) -#define E_IS_TREE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TREE_SIMPLE_TYPE)) +#define E_TREE_SIMPLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TREE_SIMPLE_TYPE, ETreeSimple)) +#define E_TREE_SIMPLE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_TREE_SIMPLE_TYPE, ETreeSimpleClass)) +#define E_IS_TREE_SIMPLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TREE_SIMPLE_TYPE)) +#define E_IS_TREE_SIMPLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TREE_SIMPLE_TYPE)) +#define E_TREE_SIMPLE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), E_TREE_SIMPLE_TYPE, ETreeSimpleClass)) typedef GdkPixbuf* (*ETreeSimpleIconAtFn) (ETreeModel *etree, ETreePath *path, void *model_data); @@ -67,7 +66,7 @@ typedef struct { ETreeModelClass parent_class; } ETreeSimpleClass; -GtkType e_tree_simple_get_type (void); +GType e_tree_simple_get_type (void); ETreeModel *e_tree_simple_new (ETableSimpleColumnCountFn col_count, ETableSimpleDuplicateValueFn duplicate_value, @@ -81,8 +80,6 @@ ETreeModel *e_tree_simple_new (ETableSimpleColumnCountFn col_count, ETreeSimpleIsEditableFn is_editable, gpointer model_data); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* _E_TREE_SIMPLE_H_ */ |