summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-rr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-rr.c')
-rw-r--r--libmate-desktop/mate-rr.c2
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;