diff options
author | Not Zed <NotZed@Ximian.com> | 2002-11-13 17:44:11 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-11-13 17:44:11 +0800 |
commit | 836029eadc5ee33f809e25fca030d172497c81fc (patch) | |
tree | 2650b31be4c3619087ddc785492ecf89364268b1 /shell/evolution-storage.h | |
parent | d9b4457fa6b9cf6cee8a2d59da3548492b7c1f6e (diff) | |
download | gsoc2013-evolution-836029eadc5ee33f809e25fca030d172497c81fc.tar.gz gsoc2013-evolution-836029eadc5ee33f809e25fca030d172497c81fc.tar.zst gsoc2013-evolution-836029eadc5ee33f809e25fca030d172497c81fc.zip |
remove GTK_OBJECT cast and other GTK stuff.
2002-11-13 Not Zed <NotZed@Ximian.com>
* 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
Diffstat (limited to 'shell/evolution-storage.h')
-rw-r--r-- | shell/evolution-storage.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 <glib.h> +#include <glib-object.h> #include <gdk-pixbuf/gdk-pixbuf.h> -#include <gtk/gtktypeutils.h> #include <bonobo/bonobo-xobject.h> @@ -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); |