diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-25 15:12:51 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-25 15:12:51 +0200 |
commit | a4f91079a8a8dda83614148ac50e7ef7e162c9b1 (patch) | |
tree | c3a4bb22dfd2f296532b2b66de289ed974a61421 /libcaja-private/caja-icon-container.c | |
parent | b965494b9c67f1e407c9c26bcc580e15838a64d3 (diff) | |
download | caja-a4f91079a8a8dda83614148ac50e7ef7e162c9b1.tar.bz2 caja-a4f91079a8a8dda83614148ac50e7ef7e162c9b1.tar.xz |
libcaja-private: Add GDK3 support
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r-- | libcaja-private/caja-icon-container.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index e7c421c2..eb069406 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -4551,7 +4551,11 @@ realize (GtkWidget *widget) set on it is drawn by X. */ if (container->details->is_desktop) { +#if GTK_CHECK_VERSION (3, 0, 0) + gdk_x11_window_get_xid (gtk_layout_get_bin_window (GTK_LAYOUT (widget))); +#else gdk_x11_drawable_get_xid (gtk_layout_get_bin_window (GTK_LAYOUT (widget))); +#endif } /* Set up DnD. */ |