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



commit b98adf75d833e0c0dcd939df265646a312af70b7
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..28b30e5423 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;
                 }
             }
         }


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