mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
added case3 to hand out the original floating flag handler. required by
Tue Mar 7 17:09:07 2006 Tim Janik <timj@gtk.org> * gobject.c (g_object_compat_control): added case3 to hand out the original floating flag handler. required by gtk+ >= 2.10.
This commit is contained in:
parent
39a0549c77
commit
e9b421f212
@ -1,3 +1,8 @@
|
||||
Tue Mar 7 17:09:07 2006 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gobject.c (g_object_compat_control): added case3 to hand out the
|
||||
original floating flag handler. required by gtk+ >= 2.10.
|
||||
|
||||
2006-02-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.10.0 ===
|
||||
|
@ -2204,11 +2204,16 @@ g_object_compat_control (gsize what,
|
||||
{
|
||||
switch (what)
|
||||
{
|
||||
gpointer *pp;
|
||||
case 1: /* floating base type */
|
||||
return G_TYPE_INITIALLY_UNOWNED;
|
||||
case 2: /* FIXME: remove this once GLib/Gtk+ break ABI again */
|
||||
floating_flag_handler = (guint(*)(GObject*,gint)) data;
|
||||
return 1;
|
||||
case 3: /* FIXME: remove this once GLib/Gtk+ break ABI again */
|
||||
pp = data;
|
||||
*pp = floating_flag_handler;
|
||||
return 1;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user