[gtk+] GtkLinkButton: We use gtk_show_uri_on_window() by default



commit c358383d6cb2bec5c21a61dd8f6f91e2938afa95
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 16 04:52:53 2017 +0100

    GtkLinkButton: We use gtk_show_uri_on_window() by default
    
    Not gtk_show_uri().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778726

 gtk/gtklinkbutton.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index f67dbd7..ab58144 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -38,7 +38,7 @@
  * The URI bound to a GtkLinkButton can be set specifically using
  * gtk_link_button_set_uri(), and retrieved using gtk_link_button_get_uri().
  *
- * By default, GtkLinkButton calls gtk_show_uri() when the button is
+ * By default, GtkLinkButton calls gtk_show_uri_on_window() when the button is
  * clicked. This behaviour can be overridden by connecting to the
  * #GtkLinkButton::activate-link signal and returning %TRUE from the
  * signal handler.
@@ -197,7 +197,7 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
    * The ::activate-link signal is emitted each time the #GtkLinkButton
    * has been clicked.
    *
-   * The default handler will call gtk_show_uri() with the URI stored inside
+   * The default handler will call gtk_show_uri_on_window() with the URI stored inside
    * the #GtkLinkButton:uri property.
    *
    * To override the default behavior, you can connect to the ::activate-link


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