[gnome-panel] panel-show: avoid deprecated gtk_show_uri



commit 89f3bc9e0e3bd0f4798c14121016ec95242a57d1
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Sep 13 16:06:55 2018 +0300

    panel-show: avoid deprecated gtk_show_uri

 gnome-panel/libpanel-util/panel-show.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-panel/libpanel-util/panel-show.c b/gnome-panel/libpanel-util/panel-show.c
index 02c28b7e1..5cb853898 100644
--- a/gnome-panel/libpanel-util/panel-show.c
+++ b/gnome-panel/libpanel-util/panel-show.c
@@ -155,7 +155,7 @@ panel_show_uri (GdkScreen    *screen,
        g_return_val_if_fail (uri != NULL, FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
 
-       gtk_show_uri (screen, uri, timestamp, &local_error);
+       gtk_show_uri_on_window (NULL, uri, timestamp, &local_error);
 
        return _panel_show_handle_error (uri, screen, local_error, error);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]