diff options
-rw-r--r-- | src/notification-menuitem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/notification-menuitem.c b/src/notification-menuitem.c index 69bb064..9fe5edb 100644 --- a/src/notification-menuitem.c +++ b/src/notification-menuitem.c @@ -321,8 +321,7 @@ notification_menuitem_activate_link_cb(GtkLabel *label, gchar *uri, gpointer use /* Show the link */ GError *error = NULL; - if (!gtk_show_uri(gtk_widget_get_screen(GTK_WIDGET(label)), - uri, gtk_get_current_event_time(), &error)) { + if (!gtk_show_uri_on_window(NULL, uri, gtk_get_current_event_time(), &error)) { g_warning("Unable to show '%s': %s", uri, error->message); g_error_free(error); } |