diff options
author | Daniel Boles <dboles.src@gmail.com> | 2018-12-12 19:03:11 +0000 |
---|---|---|
committer | Daniel Boles <dboles.src@gmail.com> | 2018-12-12 19:03:57 +0000 |
commit | 2905fc861acda3d134a198e56ef2f6c962ad3061 (patch) | |
tree | 206e5345265093311212bf7f5bd8baa166e5d435 /docs | |
parent | 363df54e54cfae7244bd155e4199af145bc13088 (diff) | |
download | gtk+-2905fc861acda3d134a198e56ef2f6c962ad3061.tar.gz |
Revert "Fix deprecation warnings"
This reverts commit 5aedfe048b0fe07382433f1a78ec5bd26acd82dd.
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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tools/shooter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c index 3d910c6ab8..8cefa8bbf7 100644 --- a/docs/tools/shooter.c +++ b/docs/tools/shooter.c @@ -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, |