[Xfce4-commits] [xfce/libxfce4ui] 07/08: Replace gtk_show_uri (Bug #15781)

noreply at xfce.org noreply at xfce.org
Sun Oct 13 20:20:20 CEST 2019


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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       x   f   c   e   -   4   .   1   4   
   in repository xfce/libxfce4ui.

commit 4c0e4e7b59c47a7b533e39f4a8acbb54a907e5f7
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Aug 4 13:49:51 2019 -0300

    Replace gtk_show_uri (Bug #15781)
---
 libxfce4ui/xfce-dialogs.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libxfce4ui/xfce-dialogs.c b/libxfce4ui/xfce-dialogs.c
index f264ef1..31920df 100644
--- a/libxfce4ui/xfce-dialogs.c
+++ b/libxfce4ui/xfce-dialogs.c
@@ -101,7 +101,11 @@ xfce_dialog_show_help_uri (GdkScreen *screen,
   else
     {
       /* not very likely to happen, but it is possible exo is not installed */
+#if GTK_CHECK_VERSION (3, 22, 0)
+      result = gtk_show_uri_on_window (parent, uri->str, gtk_get_current_event_time (), &error);
+#else
       result = gtk_show_uri (screen, uri->str, gtk_get_current_event_time (), &error);
+#endif
     }
 
   if (!result)

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


More information about the Xfce4-commits mailing list