[Xfce4-commits] [apps/xfce4-screensaver] 307/425: don't use deprecated gtk_show_uri

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:52:34 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit a96cc1c494032c740b5ebda705992213609fbb18
Author: raveit65 <mate at raveit.de>
Date:   Wed Jul 26 15:26:10 2017 +0200

    don't use deprecated gtk_show_uri
---
 src/mate-screensaver-preferences.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c
index ad38b36..a3ba973 100644
--- a/src/mate-screensaver-preferences.c
+++ b/src/mate-screensaver-preferences.c
@@ -387,7 +387,14 @@ help_display (void)
 	GError *error;
 
 	error = NULL;
+#if GTK_CHECK_VERSION (3, 22, 0)
+	gtk_show_uri_on_window (NULL,
+                                "help:mate-user-guide/prefs-screensaver",
+                                GDK_CURRENT_TIME,
+                                &error);
+#else
 	gtk_show_uri (NULL, "help:mate-user-guide/prefs-screensaver", GDK_CURRENT_TIME, &error);
+#endif
 
 	if (error != NULL)
 	{

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list