From 79738b4bddc38257848464414a6b0f16dee86d22 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Sat, 22 Dec 2012 03:07:56 +0200 Subject: [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() --- plugins/xrandr/msd-xrandr-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/xrandr') 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; -- cgit v1.2.1