Commit 2905fc86 authored by Daniel Boles's avatar Daniel Boles

Revert "Fix deprecation warnings"

This reverts commit 5aedfe04.

It had a typo that broke the build, only replaced half of the uses, and
replaced them with other functions that are also deprecated anyway.
parent 363df54e
Pipeline #45672 passed with stage
in 63 minutes and 21 seconds
......@@ -170,10 +170,10 @@ take_window_shot (Window child,
y_orig = 0;
}
if (x_orig + width > gdk_screen_get_width (gdk_screen_get_dfeault ()))
if (x_orig + width > gdk_screen_width ())
width = gdk_screen_width () - x_orig;
if (y_orig + height > gdk_screen_get_height (gdk_screen_get_default ()))
if (y_orig + height > gdk_screen_height ())
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