[gtk/matthiasc/for-master] modelbutton: Center titles
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] modelbutton: Center titles
- Date: Wed, 23 Dec 2020 05:52:26 +0000 (UTC)
commit efbb649eeef3a775527b2beed16c4a45962edce7
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 23 00:48:43 2020 -0500
modelbutton: Center titles
The centering of titles was broken in b5b81dea7f2eff28.
Make it mostly work again by adding an empty end indicator.
Related: #3405
gtk/gtkmodelbutton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkmodelbutton.c b/gtk/gtkmodelbutton.c
index b6ce026da9..d01b0dba3b 100644
--- a/gtk/gtkmodelbutton.c
+++ b/gtk/gtkmodelbutton.c
@@ -489,7 +489,7 @@ update_node_name (GtkModelButton *self)
{
case GTK_BUTTON_ROLE_TITLE:
start_name = "arrow";
- end_name = NULL;
+ end_name = "";
break;
case GTK_BUTTON_ROLE_NORMAL:
start_name = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]