From 836029eadc5ee33f809e25fca030d172497c81fc Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 13 Nov 2002 09:44:11 +0000 Subject: remove GTK_OBJECT cast and other GTK stuff. 2002-11-13 Not Zed * evolution-storage.c: remove GTK_OBJECT cast and other GTK stuff. * evolution-storage.h: this is a gobject not a gtkobject, fix cast macros, and get_type call. svn path=/trunk/; revision=18735 --- shell/evolution-storage.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'shell/evolution-storage.h') diff --git a/shell/evolution-storage.h b/shell/evolution-storage.h index 027b85b7ae..ce09544e32 100644 --- a/shell/evolution-storage.h +++ b/shell/evolution-storage.h @@ -26,9 +26,9 @@ #include "Evolution.h" #include +#include #include -#include #include @@ -38,10 +38,10 @@ extern "C" { #endif /* __cplusplus */ #define EVOLUTION_TYPE_STORAGE (evolution_storage_get_type ()) -#define EVOLUTION_STORAGE(obj) (GTK_CHECK_CAST ((obj), EVOLUTION_TYPE_STORAGE, EvolutionStorage)) -#define EVOLUTION_STORAGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), EVOLUTION_TYPE_STORAGE, EvolutionStorageClass)) -#define EVOLUTION_IS_STORAGE(obj) (GTK_CHECK_TYPE ((obj), EVOLUTION_TYPE_STORAGE)) -#define EVOLUTION_IS_STORAGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), EVOLUTION_TYPE_STORAGE)) +#define EVOLUTION_STORAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EVOLUTION_TYPE_STORAGE, EvolutionStorage)) +#define EVOLUTION_STORAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EVOLUTION_TYPE_STORAGE, EvolutionStorageClass)) +#define EVOLUTION_IS_STORAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EVOLUTION_TYPE_STORAGE)) +#define EVOLUTION_IS_STORAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EVOLUTION_TYPE_STORAGE)) typedef struct _EvolutionStorage EvolutionStorage; @@ -132,7 +132,7 @@ struct _EvolutionStorageClass { }; -GtkType evolution_storage_get_type (void); +GType evolution_storage_get_type (void); void evolution_storage_construct (EvolutionStorage *storage, const char *name, gboolean has_shared_folders); -- cgit v1.2.3