summaryrefslogtreecommitdiff
path: root/plugins/xrandr/msd-xrandr-manager.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-22 03:07:56 +0200
committerJasmine Hassan <[email protected]>2012-12-22 03:36:29 +0200
commit79738b4bddc38257848464414a6b0f16dee86d22 (patch)
tree5020788bca4b4079c4fe179f67ff0c9012ed3b52 /plugins/xrandr/msd-xrandr-manager.c
parentf6c53419d075eb15dd952119bfc0bc9db2c30fbd (diff)
downloadmate-settings-daemon-79738b4bddc38257848464414a6b0f16dee86d22.tar.bz2
mate-settings-daemon-79738b4bddc38257848464414a6b0f16dee86d22.tar.xz
[general] replace deprecations, use GDK X11 API, bump GTK+ to 2.24
for: gdk_x11_window_lookup_for_display() gdk_x11_window_foreign_new_for_display()
Diffstat (limited to 'plugins/xrandr/msd-xrandr-manager.c')
-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;