Commit 8676c45d authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST, GTK_CHECK_GET_CLASS,

2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST,	GTK_CHECK_CLASS_CAST,
	GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
	Move the GtkType typedef to an undeprecated section.


svn path=/trunk/; revision=20428
parent ea80bf60
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
Move the GtkType typedef to an undeprecated section.
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkprogress.h: use G_TYPE macros for type checking instead
......
......@@ -79,8 +79,6 @@ typedef GType GtkFundamentalType;
#define GTK_FUNDAMENTAL_TYPE G_TYPE_FUNDAMENTAL
#define GTK_STRUCT_OFFSET G_STRUCT_OFFSET
#endif /* GTK_DISABLE_DEPRECATED */
/* glib macro wrappers (compatibility) */
#define GTK_CHECK_CAST G_TYPE_CHECK_INSTANCE_CAST
#define GTK_CHECK_CLASS_CAST G_TYPE_CHECK_CLASS_CAST
......@@ -90,10 +88,6 @@ typedef GType GtkFundamentalType;
/* glib type wrappers (compatibility) */
typedef GType GtkType;
#ifndef GTK_DISABLE_DEPRECATED
typedef GTypeInstance GtkTypeObject;
typedef GTypeClass GtkTypeClass;
typedef GBaseInitFunc GtkClassInitFunc;
......@@ -141,6 +135,11 @@ typedef GSignalCMarshaller GtkSignalMarshaller;
#endif
#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
/* glib type wrappers (compatibility) */
typedef GType GtkType;
/* Used by gtk_container_foreach_unmarshal () */
/* GtkArg, used to hold differently typed values */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment