Commit 0359e15d authored by Tim Janik's avatar Tim Janik Committed by Tim Janik
Browse files

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.
parent e2c20c07
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> 2006-03-09 Matthias Clasen <mclasen@redhat.com>
* Makefile.am: Add ChangeLog.pre-2.8 to EXTRA_DIST. * Makefile.am: Add ChangeLog.pre-2.8 to EXTRA_DIST.
......
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> 2006-03-09 Matthias Clasen <mclasen@redhat.com>
* Makefile.am: Add ChangeLog.pre-2.8 to EXTRA_DIST. * Makefile.am: Add ChangeLog.pre-2.8 to EXTRA_DIST.
......
...@@ -381,6 +381,12 @@ static void ...@@ -381,6 +381,12 @@ static void
gtk_object_init (GtkObject *object, gtk_object_init (GtkObject *object,
GtkObjectClass *klass) 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));
} }
/******************************************** /********************************************
......
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