Re: gtk reparent bug




George <jirka@5z.com> writes:

> I seem to be hacing this problem:
> 
> reparenting between two gtkfixed widgets doesn't work 100% ...
> 
> the reparent itself works ... but if you destroy the old parent
> it seems to destroy the widget (but not the window which seems
> to hang around) ...
> 
> if I do just
> 
> _ref
> _remove
> _add
> _unref
> 
> almost everything works correctly (except that gtksocket kills it's
> child as it doesn't like being unrealized during _remove)
> 
> if I do gkt_widget_reparent, everything seemingly works, until you destroy
> the old gtkfixed
> 
> I can't exactly put my finger on where the problem lies

GDK. If you didn't see the commit message, or missed the significance,
try updating now.

(The problem was that window_private->parent wasn't being changed
when windows were reparented)

Regards,
                                        Owen



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