mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
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:
parent
363df54e54
commit
2905fc861a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user