[gtk/matthiasc/for-master] label: Fix tooltips on links




commit e6b1443fbb4696b293780c5fcda269a8738a7059
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 17 18:16:47 2021 -0400

    label: Fix tooltips on links
    
    Fix pointed out by Timm Baeder.
    
    Fixes: #3765

 gtk/gtklabel.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 4cfa91a97d..09e167dd4e 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -1658,6 +1658,7 @@ gtk_label_query_tooltip (GtkWidget  *widget,
               if (link->title)
                 {
                   gtk_tooltip_set_markup (tooltip, link->title);
+                  return TRUE;
                 }
             }
         }


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