Re: GTK_FLOATING broken in 2.9?



On Sat, Dec 17, 2005 at 07:00:59PM -0800, Dave Benson wrote:
> anyways, *nothing* can fix:
>   object = g_object_new (MY_TYPE_OBJECT, NULL);
>   g_object_ref_sink (object);
>   my_object_ref_sink (object);
>   g_object_unref(object);
>   g_object_unref(object);
> except upgrading the 'my_object' library to a version that 
> depends on a late glib.. but if people are just upgrading glib
> to say, move to a later gtk, then well, they won't notice the
> situation.

hey, sorry to reply to myself, but...

one thing can fix this:  if the floating flag defaults to off
for GObject, and g_object_force_floating() is in gtk_object_init(), et al

- dave



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]