[gtk/wip/baedert/for-master: 5/24] headerbar: Remove size request on icon button



commit ff4a33b69b7e4e56dd9a01a1dcd5baa6ddad1985
Author: Timm Bäder <mail baedert org>
Date:   Fri Feb 21 12:57:16 2020 +0100

    headerbar: Remove size request on icon button
    
    Doesn't make sense that we force this one button to be this big.

 gtk/gtkheaderbar.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 945c3cf5a2..1a81f327bc 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -383,7 +383,6 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
                   priv->titlebar_icon = button;
                   gtk_widget_add_css_class (button, "titlebutton");
                   gtk_widget_add_css_class (button, "icon");
-                  gtk_widget_set_size_request (button, 20, 20);
 
                   if (!_gtk_header_bar_update_window_icon (bar, window))
                     {


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