aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-selection-model-array.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-15 10:18:33 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-15 10:18:33 +0800
commit555aa35da24b6977073379c71f1bbb27ac36d86c (patch)
treea9f5d20ff7d894cb537d9bd06a433fc7e633a360 /widgets/misc/e-selection-model-array.h
parent273f7a811a3336a1ed8decae5521f365ea86d5e1 (diff)
downloadgsoc2013-evolution-555aa35da24b6977073379c71f1bbb27ac36d86c.tar.gz
gsoc2013-evolution-555aa35da24b6977073379c71f1bbb27ac36d86c.tar.zst
gsoc2013-evolution-555aa35da24b6977073379c71f1bbb27ac36d86c.zip
this derives from GObject now.
2002-11-14 Chris Toshok <toshok@ximian.com> * gal/widgets/e-selection-model.[ch]: this derives from GObject now. * gal/widgets/e-selection-model-simple.[ch]: same. * gal/widgets/e-selection-model-array.[ch]: same. * gal/widgets/e-reflow-model.[ch]: same. * gal/widgets/e-reflow.c: fix all references to EReflowModel such that it's a GObject, not a GtkObject. svn path=/trunk/; revision=18772
Diffstat (limited to 'widgets/misc/e-selection-model-array.h')
-rw-r--r--widgets/misc/e-selection-model-array.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/widgets/misc/e-selection-model-array.h b/widgets/misc/e-selection-model-array.h
index 805f331e88..a533030f92 100644
--- a/widgets/misc/e-selection-model-array.h
+++ b/widgets/misc/e-selection-model-array.h
@@ -33,10 +33,11 @@ extern "C" {
#endif /* __cplusplus */
#define E_SELECTION_MODEL_ARRAY_TYPE (e_selection_model_array_get_type ())
-#define E_SELECTION_MODEL_ARRAY(o) (GTK_CHECK_CAST ((o), E_SELECTION_MODEL_ARRAY_TYPE, ESelectionModelArray))
-#define E_SELECTION_MODEL_ARRAY_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_SELECTION_MODEL_ARRAY_TYPE, ESelectionModelArrayClass))
-#define E_IS_SELECTION_MODEL_ARRAY(o) (GTK_CHECK_TYPE ((o), E_SELECTION_MODEL_ARRAY_TYPE))
-#define E_IS_SELECTION_MODEL_ARRAY_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_SELECTION_MODEL_ARRAY_TYPE))
+#define E_SELECTION_MODEL_ARRAY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_SELECTION_MODEL_ARRAY_TYPE, ESelectionModelArray))
+#define E_SELECTION_MODEL_ARRAY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_SELECTION_MODEL_ARRAY_TYPE, ESelectionModelArrayClass))
+#define E_IS_SELECTION_MODEL_ARRAY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_SELECTION_MODEL_ARRAY_TYPE))
+#define E_IS_SELECTION_MODEL_ARRAY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_SELECTION_MODEL_ARRAY_TYPE))
+#define E_SELECTION_MODEL_ARRAY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), E_SELECTION_MODEL_ARRAY_TYPE, ESelectionModelArrayClass))
typedef struct {
ESelectionModel base;
@@ -70,7 +71,7 @@ typedef struct {
gint (*get_row_count) (ESelectionModelArray *selection);
} ESelectionModelArrayClass;
-GtkType e_selection_model_array_get_type (void);
+GType e_selection_model_array_get_type (void);
/* Protected Functions */
void e_selection_model_array_insert_rows (ESelectionModelArray *esm,