diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-14 04:20:01 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-14 04:20:01 +0800 |
commit | cd31ceb85fc5d5f14bb7f1867851e2853fd0ab77 (patch) | |
tree | ce326dacf554af3142314e69f128c4b75b5fe2a5 /widgets/menus/gal-view-factory.h | |
parent | 422f99755f1f214a44dc66791007ce516594c237 (diff) | |
download | gsoc2013-evolution-cd31ceb85fc5d5f14bb7f1867851e2853fd0ab77.tar.gz gsoc2013-evolution-cd31ceb85fc5d5f14bb7f1867851e2853fd0ab77.tar.zst gsoc2013-evolution-cd31ceb85fc5d5f14bb7f1867851e2853fd0ab77.zip |
start porting to GObject.
2002-11-13 Chris Toshok <toshok@ximian.com>
* gal-view-collection.[ch]: start porting to GObject.
* gal-view-etable.[ch]: same.
* gal-view-factory-etable.[ch]: same.
* gal-view-factory.[ch]: same.
* gal-view-factory.[ch]: same.
* gal-view-instance.[ch]: same.
* gal-view.[ch]: same.
svn path=/trunk/; revision=18745
Diffstat (limited to 'widgets/menus/gal-view-factory.h')
-rw-r--r-- | widgets/menus/gal-view-factory.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/widgets/menus/gal-view-factory.h b/widgets/menus/gal-view-factory.h index b02c728517..5fff83e048 100644 --- a/widgets/menus/gal-view-factory.h +++ b/widgets/menus/gal-view-factory.h @@ -32,17 +32,18 @@ extern "C" { #endif /* __cplusplus */ #define GAL_VIEW_FACTORY_TYPE (gal_view_factory_get_type ()) -#define GAL_VIEW_FACTORY(o) (GTK_CHECK_CAST ((o), GAL_VIEW_FACTORY_TYPE, GalViewFactory)) -#define GAL_VIEW_FACTORY_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_FACTORY_TYPE, GalViewFactoryClass)) -#define GAL_IS_VIEW_FACTORY(o) (GTK_CHECK_TYPE ((o), GAL_VIEW_FACTORY_TYPE)) -#define GAL_IS_VIEW_FACTORY_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_VIEW_FACTORY_TYPE)) +#define GAL_VIEW_FACTORY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GAL_VIEW_FACTORY_TYPE, GalViewFactory)) +#define GAL_VIEW_FACTORY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GAL_VIEW_FACTORY_TYPE, GalViewFactoryClass)) +#define GAL_IS_VIEW_FACTORY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GAL_VIEW_FACTORY_TYPE)) +#define GAL_IS_VIEW_FACTORY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GAL_VIEW_FACTORY_TYPE)) +#define GAL_VIEW_FACTORY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GAL_VIEW_FACTORY_TYPE, GalViewFactoryClass)) typedef struct { - GtkObject base; + GObject base; } GalViewFactory; typedef struct { - GtkObjectClass parent_class; + GObjectClass parent_class; /* * Virtual methods @@ -54,7 +55,7 @@ typedef struct { } GalViewFactoryClass; /* Standard functions */ -GtkType gal_view_factory_get_type (void); +GType gal_view_factory_get_type (void); /* Query functions */ /* Returns already translated title. */ |