diff options
author | raveit65 <[email protected]> | 2018-01-26 15:24:00 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-27 10:48:10 +0100 |
commit | 44a8dae7f641fade55f700dd0f6ed2d059173a9d (patch) | |
tree | db59121c372b8536fe14e43ce9788a7bffba858b /libmate-desktop/mate-rr-labeler.c | |
parent | e4dd3db4095518e95fb0b3f088bdb90a06aa466c (diff) | |
download | mate-desktop-44a8dae7f641fade55f700dd0f6ed2d059173a9d.tar.bz2 mate-desktop-44a8dae7f641fade55f700dd0f6ed2d059173a9d.tar.xz |
building: remove < gtk+-3.22 bits and bump required gtk+ version
Diffstat (limited to 'libmate-desktop/mate-rr-labeler.c')
-rw-r--r-- | libmate-desktop/mate-rr-labeler.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libmate-desktop/mate-rr-labeler.c b/libmate-desktop/mate-rr-labeler.c index 569f04d..d0b9090 100644 --- a/libmate-desktop/mate-rr-labeler.c +++ b/libmate-desktop/mate-rr-labeler.c @@ -363,22 +363,11 @@ position_window (MateRRLabeler *labeler, { GdkRectangle workarea; GdkRectangle monitor; -#if GTK_CHECK_VERSION (3, 22, 0) GdkMonitor *monitor_num; -#else - int monitor_num; -#endif get_work_area (labeler, &workarea); -#if GTK_CHECK_VERSION (3, 22, 0) monitor_num = gdk_display_get_monitor_at_point (gdk_screen_get_display (labeler->priv->screen), x, y); gdk_monitor_get_geometry (monitor_num, &monitor); -#else - monitor_num = gdk_screen_get_monitor_at_point (labeler->priv->screen, x, y); - gdk_screen_get_monitor_geometry (labeler->priv->screen, - monitor_num, - &monitor); -#endif gdk_rectangle_intersect (&monitor, &workarea, &workarea); gtk_window_move (GTK_WINDOW (window), workarea.x, workarea.y); |