diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-15 10:18:33 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-15 10:18:33 +0800 |
commit | 555aa35da24b6977073379c71f1bbb27ac36d86c (patch) | |
tree | a9f5d20ff7d894cb537d9bd06a433fc7e633a360 /widgets/misc/e-reflow-model.h | |
parent | 273f7a811a3336a1ed8decae5521f365ea86d5e1 (diff) | |
download | gsoc2013-evolution-555aa35da24b6977073379c71f1bbb27ac36d86c.tar gsoc2013-evolution-555aa35da24b6977073379c71f1bbb27ac36d86c.tar.gz gsoc2013-evolution-555aa35da24b6977073379c71f1bbb27ac36d86c.tar.bz2 gsoc2013-evolution-555aa35da24b6977073379c71f1bbb27ac36d86c.tar.lz gsoc2013-evolution-555aa35da24b6977073379c71f1bbb27ac36d86c.tar.xz 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-reflow-model.h')
-rw-r--r-- | widgets/misc/e-reflow-model.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/widgets/misc/e-reflow-model.h b/widgets/misc/e-reflow-model.h index 0f479ab5ca..b755cee447 100644 --- a/widgets/misc/e-reflow-model.h +++ b/widgets/misc/e-reflow-model.h @@ -24,7 +24,7 @@ #ifndef _E_REFLOW_MODEL_H_ #define _E_REFLOW_MODEL_H_ -#include <gtk/gtkobject.h> +#include <glib-object.h> #include <libgnomecanvas/gnome-canvas.h> #ifdef __cplusplus @@ -32,17 +32,18 @@ extern "C" { #endif /* __cplusplus */ #define E_REFLOW_MODEL_TYPE (e_reflow_model_get_type ()) -#define E_REFLOW_MODEL(o) (GTK_CHECK_CAST ((o), E_REFLOW_MODEL_TYPE, EReflowModel)) -#define E_REFLOW_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_REFLOW_MODEL_TYPE, EReflowModelClass)) -#define E_IS_REFLOW_MODEL(o) (GTK_CHECK_TYPE ((o), E_REFLOW_MODEL_TYPE)) -#define E_IS_REFLOW_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_REFLOW_MODEL_TYPE)) +#define E_REFLOW_MODEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_REFLOW_MODEL_TYPE, EReflowModel)) +#define E_REFLOW_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_REFLOW_MODEL_TYPE, EReflowModelClass)) +#define E_IS_REFLOW_MODEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_REFLOW_MODEL_TYPE)) +#define E_IS_REFLOW_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_REFLOW_MODEL_TYPE)) +#define E_REFLOW_MODEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), E_REFLOW_MODEL_TYPE, EReflowModelClass)) typedef struct { - GtkObject base; + GObject base; } EReflowModel; typedef struct { - GtkObjectClass parent_class; + GObjectClass parent_class; /* * Virtual methods @@ -69,7 +70,7 @@ typedef struct { void (*model_item_changed) (EReflowModel *etm, int n); } EReflowModelClass; -GtkType e_reflow_model_get_type (void); +GType e_reflow_model_get_type (void); /**/ void e_reflow_model_set_width (EReflowModel *e_reflow_model, |