Re: More GTK breakage
- From: Krzesimir Nowak <qdlacz gmail com>
- To: Benjamin Otte <otte gnome org>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, desktop-devel-list gnome org
- Subject: Re: More GTK breakage
- Date: Thu, 02 Dec 2010 22:15:44 +0100
On Thu, 2010-12-02 at 20:45 +0100, Benjamin Otte wrote:
> Hey everyone,
>
> If you read this mail, it's probably because GTK made your compile
> fail. Again. It might be because the final part of the GTK3 rendering
> cleanup has landed. This part only touches GDK APIs, so most
> applications should not be affected at all.
>
> If your app has been affected nonetheless, it's often one of these issues:
>
> - GdkDrawable has been removed. In that case, just replace all
> occurences of GdkDrawable with GdkWindow and you should be fine.
>
> - The GDK_DRAWABLE() macro is gone. Oftentimes, it can just be
> omitted. Otherwise, you likely want to use the GDK_WINDOW() macro.
>
> - GDK_WINDOW_XWINDOW() is gone. Use the gdk_x11_window_get_xid() to
> get it. I'm transitioning all code to provide a gdk_x11_foo_get_xid()
> function exclusively, so futureproof code should use that function.
>
> - A few remaining calls (mostly in gdkx.h) that were called
> gdk_drawable_foo() are now called gdk_window_foo(). Most prominently
> gdk_x11_drawable_get_xid() is now called gdk_x11_window_get_xid().
>
> As always, if you have any issues, feel free to poke me.
>
> Benjamin
Just a small nitpick - while reading I spotted that
gdk_x11_window_get_xid() should return XID, not Window as it is written
in gdkx.h, even if Window is just a typedef of XID.
Krzesimir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]