summaryrefslogtreecommitdiff
path: root/mate-panel/panel-multiscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-multiscreen.c')
-rw-r--r--mate-panel/panel-multiscreen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mate-panel/panel-multiscreen.c b/mate-panel/panel-multiscreen.c
index 27c29135..e475fd7b 100644
--- a/mate-panel/panel-multiscreen.c
+++ b/mate-panel/panel-multiscreen.c
@@ -133,11 +133,7 @@ panel_multiscreen_get_randr_monitors_for_screen (GdkScreen *screen,
*/
xdisplay = GDK_SCREEN_XDISPLAY (screen);
-#if GTK_CHECK_VERSION (3, 0, 0)
xroot = GDK_WINDOW_XID (gdk_screen_get_root_window (screen));
-#else
- xroot = GDK_WINDOW_XWINDOW (gdk_screen_get_root_window (screen));
-#endif
#if (RANDR_MAJOR > 1 || (RANDR_MAJOR == 1 && RANDR_MINOR >= 3))
if (have_randr_1_3) {