Merge branch 'fix_5551' into 'main'

object_tree.c: One gtk_list_item_get_child call is redundant

Closes #5551

See merge request GNOME/gtk!5449
This commit is contained in:
Matthias Clasen
2023-01-27 16:22:17 +00:00

View File

@@ -1002,7 +1002,6 @@ bind_type_cb (GtkSignalListItemFactory *factory,
expander = gtk_list_item_get_child (list_item);
gtk_tree_expander_set_list_row (GTK_TREE_EXPANDER (expander), list_row);
item = gtk_tree_list_row_get_item (list_row);
expander = gtk_list_item_get_child (list_item);
inscription = gtk_tree_expander_get_child (GTK_TREE_EXPANDER (expander));
gtk_inscription_set_text (GTK_INSCRIPTION (inscription), G_OBJECT_TYPE_NAME (item));