forked from AuroraMiddleware/gtk
move the floating flag from the GInitiallyUnowned bit to GTK_FLOATING.
Thu Mar 9 14:29:43 2006 Tim Janik <timj@gtk.org> * gtk/gtkobject.c (gtk_object_init): move the floating flag from the GInitiallyUnowned bit to GTK_FLOATING. fixes tests/floatingcheck. kudos to mitch for debugging this.
This commit is contained in:
parent
e2c20c07ee
commit
0359e15d3c
@ -1,3 +1,9 @@
|
||||
Thu Mar 9 14:29:43 2006 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkobject.c (gtk_object_init): move the floating flag from
|
||||
the GInitiallyUnowned bit to GTK_FLOATING. fixes tests/floatingcheck.
|
||||
kudos to mitch for debugging this.
|
||||
|
||||
2006-03-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* Makefile.am: Add ChangeLog.pre-2.8 to EXTRA_DIST.
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Mar 9 14:29:43 2006 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkobject.c (gtk_object_init): move the floating flag from
|
||||
the GInitiallyUnowned bit to GTK_FLOATING. fixes tests/floatingcheck.
|
||||
kudos to mitch for debugging this.
|
||||
|
||||
2006-03-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* Makefile.am: Add ChangeLog.pre-2.8 to EXTRA_DIST.
|
||||
|
@ -381,6 +381,12 @@ static void
|
||||
gtk_object_init (GtkObject *object,
|
||||
GtkObjectClass *klass)
|
||||
{
|
||||
gboolean was_floating;
|
||||
/* sink the GInitiallyUnowned floating flag */
|
||||
was_floating = gobject_floating_flag_handler (object, -1);
|
||||
/* set GTK_FLOATING via gtk_object_floating_flag_handler */
|
||||
if (was_floating)
|
||||
g_object_force_floating (G_OBJECT (object));
|
||||
}
|
||||
|
||||
/********************************************
|
||||
|
Loading…
Reference in New Issue
Block a user