From 0c20407f57f345453ae28114ad0d0cdc85920626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 24 Jan 2025 15:36:30 +0100 Subject: [PATCH] st/box-layout: Remove unnecessary notify We already notify via the `notify::orientation` handler on the layout manager, so there is no need to also do so from our own setter. Part-of: --- src/st/st-box-layout.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c index 059a81dd1..c77433e92 100644 --- a/src/st/st-box-layout.c +++ b/src/st/st-box-layout.c @@ -225,10 +225,7 @@ st_box_layout_set_vertical (StBoxLayout *box, : CLUTTER_ORIENTATION_HORIZONTAL; if (clutter_box_layout_get_orientation (CLUTTER_BOX_LAYOUT (layout)) != orientation) - { - clutter_box_layout_set_orientation (CLUTTER_BOX_LAYOUT (layout), orientation); - g_object_notify_by_pspec (G_OBJECT (box), props[PROP_VERTICAL]); - } + clutter_box_layout_set_orientation (CLUTTER_BOX_LAYOUT (layout), orientation); } /**