[gtk/wip/baedert/for-master: 32/36] headerbar: Remove size request on icon button
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 32/36] headerbar: Remove size request on icon button
- Date: Sat, 22 Feb 2020 07:32:27 +0000 (UTC)
commit ba5c0870c59ba6f739bc68e2f4e0217d4048a166
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]