- commit
- 79c9bbd234a96c0490c5445aeccfc1193b273745
- parent
- 7d3adfb9e8f08b6f683cbd9ccb4a95350e50ce42
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-09-20 07:05
gtk4: avoid child properties
Diffstat
| M | xiterm.c | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/xiterm.c b/xiterm.c
@@ -131,9 +131,9 @@ void add_tab(void) {
131 131 page_num = gtk_notebook_get_current_page(notebook) + 1;
132 132 page_num = gtk_notebook_insert_page(notebook, page, NULL, page_num);
133 133 gtk_notebook_set_tab_reorderable(notebook, page, TRUE);
134 -1 gtk_container_child_set(GTK_CONTAINER(notebook), page, "tab-expand", TRUE, NULL);
135 134
136 135 label = gtk_label_new("");
-1 136 gtk_widget_set_hexpand(label, TRUE);
137 137 gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_END);
138 138 gtk_notebook_set_tab_label(notebook, page, label);
139 139