Revert "Fix deprecation warnings"

This reverts commit 5aedfe048b.

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.
This commit is contained in:
Daniel Boles 2018-12-12 19:03:11 +00:00
parent 363df54e54
commit 2905fc861a

View File

@ -170,10 +170,10 @@ take_window_shot (Window child,
y_orig = 0; 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; 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; height = gdk_screen_height () - y_orig;
tmp = gdk_pixbuf_get_from_window (window, tmp = gdk_pixbuf_get_from_window (window,