Re: [Bug] Apparent bitrot in CVS gtk+-1.3 gdk/win32/gdkwindow-win32.c

"Max Bowsher" <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <00c301c2a292$ba3a8f00$2a49893e@pomello>
Tor Lillqvist <[email protected]> wrote:

> Max Bowsher writes:
>  >        if (window != _gdk_parent_root)
>  >   {
>  >     ClientToScreen (GDK_WINDOW_HWND (window), &rect);
>  >     ScreenToClient (GDK_WINDOW_HWND (gdk_window_get_parent
>  (window)), > &rect);
>  >   }
>
> /me blushes. I copy-pasted those lines from the 2.0 branch, and
> promptly forgot to even verify that it compiles. In 1.3, it should be:
>
>       if (window != gdk_parent_root)
> {
>   ClientToScreen (GDK_DRAWABLE_XID (window), &rect);
>   ScreenToClient (GDK_DRAWABLE_XID (gdk_window_get_parent (window)),
> &rect); }
>
> --tml

Thanks for the quick fix.... off I go to do battle with libtool again. One
day soon I might actually get gtk+ built.

Max.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.