Remove deprecated GtkObject macros

Remove GTK_OBJECT_TYPE() and GTK_OBJECT_TYPE_NAME(),
G_OBJECT_TYPE() and G_OBJECT_TYPE_NAME() should be used instead.
This commit is contained in:
Javier Jardón 2010-05-11 16:59:15 +02:00
parent 37bb7ea2a0
commit d9bb439c89
3 changed files with 0 additions and 38 deletions

View File

@ -2248,8 +2248,6 @@ GtkNotebookTab
<FILE>gtkobject</FILE>
<TITLE>GtkObject</TITLE>
GtkObject
GTK_OBJECT_TYPE
GTK_OBJECT_TYPE_NAME
GtkObjectFlags
GTK_OBJECT_FLAGS
gtk_object_destroy

View File

@ -109,19 +109,6 @@ if all references are released.
@object: the object which received the signal.
<!-- ##### MACRO GTK_OBJECT_TYPE ##### -->
<para>
</para>
<!-- ##### MACRO GTK_OBJECT_TYPE_NAME ##### -->
<para>
</para>
<!-- ##### ENUM GtkObjectFlags ##### -->
<para>

View File

@ -51,29 +51,6 @@ G_BEGIN_DECLS
#define GTK_IS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_OBJECT))
#define GTK_OBJECT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), GTK_TYPE_OBJECT, GtkObjectClass))
/* Macros for extracting various fields from GtkObject and GtkObjectClass.
*/
#ifndef GTK_DISABLE_DEPRECATED
/**
* GTK_OBJECT_TYPE:
* @object: a #GtkObject.
*
* Gets the type of an object.
*
* Deprecated: 2.20: Use G_OBJECT_TYPE() instead.
*/
#define GTK_OBJECT_TYPE G_OBJECT_TYPE
/**
* GTK_OBJECT_TYPE_NAME:
* @object: a #GtkObject.
*
* Gets the name of an object's type.
*
* Deprecated: 2.20: Use G_OBJECT_TYPE_NAME() instead.
*/
#define GTK_OBJECT_TYPE_NAME G_OBJECT_TYPE_NAME
#endif
/* GtkObject only uses the first 4 bits of the flags field.
* Derived objects may use the remaining bits. Though this
* is a kinda nasty break up, it does make the size of