diff options
author | monsta <[email protected]> | 2018-02-02 16:25:31 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-04 20:32:14 +0100 |
commit | d1020226236576464be4ab47ec0098a588bef486 (patch) | |
tree | c79b616da32f8b684b964af8b8cf3fa96b98c4e6 /trashapplet/src/xstuff.c | |
parent | e6d55cba85fc49b3dfac8150c397540bda369847 (diff) | |
download | mate-applets-d1020226236576464be4ab47ec0098a588bef486.tar.bz2 mate-applets-d1020226236576464be4ab47ec0098a588bef486.tar.xz |
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'trashapplet/src/xstuff.c')
-rw-r--r-- | trashapplet/src/xstuff.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/trashapplet/src/xstuff.c b/trashapplet/src/xstuff.c index 5255bf0d..b7432a09 100644 --- a/trashapplet/src/xstuff.c +++ b/trashapplet/src/xstuff.c @@ -153,11 +153,7 @@ xstuff_zoom_animate (GtkWidget *widget, GdkRectangle *opt_rect) GdkScreen *gscreen; GdkRectangle rect, dest; GtkAllocation allocation; -#if GTK_CHECK_VERSION (3, 22, 0) GdkMonitor *monitor; -#else - int monitor; -#endif if (opt_rect) rect = *opt_rect; @@ -173,14 +169,9 @@ xstuff_zoom_animate (GtkWidget *widget, GdkRectangle *opt_rect) } gscreen = gtk_widget_get_screen (widget); -#if GTK_CHECK_VERSION (3, 22, 0) monitor = gdk_display_get_monitor_at_window (gdk_screen_get_display (gscreen), gtk_widget_get_window (widget)); gdk_monitor_get_geometry (monitor, &dest); -#else - monitor = gdk_screen_get_monitor_at_window (gscreen, gtk_widget_get_window (widget)); - gdk_screen_get_monitor_geometry (gscreen, monitor, &dest); -#endif draw_zoom_animation (gscreen, rect.x, rect.y, rect.width, rect.height, |