[gtk/wip/fanc999/gtk-3-24-meson-msvc: 65/297] Fix deprecation warnings
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/fanc999/gtk-3-24-meson-msvc: 65/297] Fix deprecation warnings
- Date: Wed, 13 Mar 2019 09:19:04 +0000 (UTC)
commit 8db135fca959091f1471acec6b345940020b40ed
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 12 12:45:37 2018 -0500
Fix deprecation warnings
docs/tools/shooter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c
index 8cefa8bbf7..3d910c6ab8 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_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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]