Use g_object_is_floating.

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkobject.h (GTK_OBJECT_FLOATING): Use g_object_is_floating.
This commit is contained in:
Matthias Clasen 2005-12-05 15:49:55 +00:00 committed by Matthias Clasen
parent fa817f76c6
commit 2ed17574f9
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkobject.h (GTK_OBJECT_FLOATING): Use g_object_is_floating.
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbutton.c (clone_image_menu_size): Don't leak

View File

@ -1,3 +1,7 @@
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkobject.h (GTK_OBJECT_FLOATING): Use g_object_is_floating.
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbutton.c (clone_image_menu_size): Don't leak

View File

@ -69,7 +69,7 @@ typedef enum
*/
#define GTK_OBJECT_FLAGS(obj) (GTK_OBJECT (obj)->flags)
#ifndef GTK_DISABLE_DEPRECATED
#define GTK_OBJECT_FLOATING(obj) ((GTK_OBJECT_FLAGS (obj) & GTK_FLOATING) != 0)
#define GTK_OBJECT_FLOATING(obj) (g_object_is_floating (obj))
#endif
/* Macros for setting and clearing bits in the object_flags field of GtkObject.