Commit 5aedfe04 authored by Matthias Clasen's avatar Matthias Clasen

Fix deprecation warnings

parent 4c8fcd6a
......@@ -170,10 +170,10 @@ take_window_shot (Window child,
y_orig = 0;
}
if (x_orig + width > gdk_screen_width ())
if (x_orig + width > gdk_screen_get_width (gdk_screen_get_dfeault ()))
width = gdk_screen_width () - x_orig;
if (y_orig + height > gdk_screen_height ())
if (y_orig + height > gdk_screen_get_height (gdk_screen_get_default ()))
height = gdk_screen_height () - y_orig;
tmp = gdk_pixbuf_get_from_window (window,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment