summaryrefslogtreecommitdiff
path: root/plugins/xrandr
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-12-23 11:07:10 -0800
committerStefano Karapetsas <[email protected]>2012-12-23 11:07:10 -0800
commite6f5e94d1bff4dbf166d45d5f2d3fb81fcb6140c (patch)
tree4632f7f05c88598aeb882cace1fa7cc4a01d4b46 /plugins/xrandr
parentf6c53419d075eb15dd952119bfc0bc9db2c30fbd (diff)
parentd58a3b0f224b999e8812242e3e93091cf077a59d (diff)
downloadmate-settings-daemon-e6f5e94d1bff4dbf166d45d5f2d3fb81fcb6140c.tar.bz2
mate-settings-daemon-e6f5e94d1bff4dbf166d45d5f2d3fb81fcb6140c.tar.xz
Merge pull request #34 from jasmineaura/develop
Remove last remaining deprecations (GDK)
Diffstat (limited to 'plugins/xrandr')
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index c56cd51..f7f1f88 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -614,7 +614,7 @@ msd_xrandr_manager_2_apply_configuration (MsdXrandrManager *manager,
gboolean result;
if (parent_window_id != 0)
- parent_window = gdk_window_foreign_new_for_display (gdk_display_get_default (), (GdkNativeWindow) parent_window_id);
+ parent_window = gdk_x11_window_foreign_new_for_display (gdk_display_get_default (), (Window) parent_window_id);
else
parent_window = NULL;