diff options
author | monsta <[email protected]> | 2014-12-09 15:35:35 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2014-12-09 15:35:35 +0300 |
commit | 097ddca20a3d6d6070528aa41d9074d9565a8a24 (patch) | |
tree | 5d7efae252cc083ec2d58ee6d62c49522d773fdd | |
parent | bfbd45b4e22e319891aad77d30b4d6d25807ef42 (diff) | |
download | mate-desktop-097ddca20a3d6d6070528aa41d9074d9565a8a24.tar.bz2 mate-desktop-097ddca20a3d6d6070528aa41d9074d9565a8a24.tar.xz |
fix GTK+3 build - use GDK_WINDOW_XID for inter-GTK compatibility
-rw-r--r-- | libmate-desktop/mate-rr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-rr.c b/libmate-desktop/mate-rr.c index 8d7f3a6..d2003ac 100644 --- a/libmate-desktop/mate-rr.c +++ b/libmate-desktop/mate-rr.c @@ -773,7 +773,7 @@ mate_rr_screen_set_property (GObject *gobject, guint property_id, const GValue * case SCREEN_PROP_GDK_SCREEN: priv->gdk_screen = g_value_get_object (value); priv->gdk_root = gdk_screen_get_root_window (priv->gdk_screen); - priv->xroot = gdk_x11_drawable_get_xid (priv->gdk_root); + priv->xroot = GDK_WINDOW_XID (priv->gdk_root); priv->xdisplay = GDK_SCREEN_XDISPLAY (priv->gdk_screen); priv->xscreen = gdk_x11_screen_get_xscreen (priv->gdk_screen); return; |