[Xfce4-commits] [apps/xfce4-terminal] 01/01: gdk_display_get_screen has been deprecates since 3.20
noreply at xfce.org
noreply at xfce.org
Wed Oct 12 15:41:08 CEST 2016
This is an automated email from the git hooks/post-receive script.
f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.
commit 2b07c3787be3e128fc80479eb8735206c62a7872
Author: Igor <f2404 at yandex.ru>
Date: Wed Oct 12 16:41:03 2016 +0300
gdk_display_get_screen has been deprecates since 3.20
---
terminal/terminal-app.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/terminal/terminal-app.c b/terminal/terminal-app.c
index 4c84f09..f268cbe 100644
--- a/terminal/terminal-app.c
+++ b/terminal/terminal-app.c
@@ -618,8 +618,10 @@ terminal_app_find_screen (GdkDisplay *display,
if (display != NULL)
{
+#if !GTK_CHECK_VERSION (3, 20, 0)
if (screen_num >= 0)
screen = gdk_display_get_screen (display, screen_num);
+#endif
if (screen == NULL)
screen = gdk_display_get_default_screen (display);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list