diff options
author | Lukáš Tyrychtr <lukastyrychtr@gmail.com> | 2023-01-27 15:43:24 +0100 |
---|---|---|
committer | Lukáš Tyrychtr <lukastyrychtr@gmail.com> | 2023-01-27 15:43:33 +0100 |
commit | 7b6f254e6476b80b0d94ec8434ba7793b863e60e (patch) | |
tree | 4f37941c40cac33e67f7095a6522cfe29ef46167 /gtk/inspector | |
parent | c24ba58acb142b8ad97002f09da0e3d8a14031a7 (diff) | |
download | gtk+-7b6f254e6476b80b0d94ec8434ba7793b863e60e.tar.gz |
object_tree.c: One gtk_list_item_get_child call is redundant
Fixes #5551
Diffstat (limited to 'gtk/inspector')
-rw-r--r-- | gtk/inspector/object-tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/inspector/object-tree.c b/gtk/inspector/object-tree.c index 88e97a9c2c..a7920b9875 100644 --- a/gtk/inspector/object-tree.c +++ b/gtk/inspector/object-tree.c @@ -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)); |