On Tue, Jan 19, 2010 at 2:34 AM, Taro Omiya <[email protected]> wrote:

> On 01/18/2010 11:45 AM, Taro Omiya wrote:
>
>>  Lately, I've been having trouble getting rid of these warnings below:
>
>  ......
>> The meaning of these warnings are pretty obvious: since I've converted all
>> gdk.Windows to gdl.DockItems, the assertion that whether a dock is a window
>> or not failed.  From the looks of it, it seems to occur most when a dock is
>> either closed, resized, or moved to another window.  However, I'm not sure
>> where I left such window references.  Could someone help me find the source
>> of this problem?  I've attached a compressed patch of my work.
>>
>
> On second thought I'm not sure they are that obvious anymore, as a
gdk.Window (as opposed to a gtk.Window) is a low level abstraction of the
underlying window (X window on *nix) a widget exist in. As such, even a dock
should have one...
In any case you need to isolate the cause(s) for these warnings. Since its
async, getting a traceback isn't really an option but there might be other
techniques for finding the calling code.

With maxy's suggestion, I was able to compress that patch file further.  The
> attached path is updated to commit e832f536d620cffc452c5be5971170e97738cd7a:

The patch does not apply to said commit, as there are commits from mainline
mixed in there. What you want to do in these cases is rebase your changes
onto the commit, not merge the histories together.

-- 
Regards Jon Nordby - www.jonnor.com
_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to