modelbutton: Center titles

The centering of titles was broken in b5b81dea7f.
Make it mostly work again by adding an empty end indicator.

Related: #3405
This commit is contained in:
Matthias Clasen 2020-12-23 00:48:43 -05:00
parent e128a77eed
commit efbb649eee

View File

@ -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;