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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3613>
This commit is contained in:
parent
a80e5a8c39
commit
0c20407f57
@ -225,10 +225,7 @@ st_box_layout_set_vertical (StBoxLayout *box,
|
|||||||
: CLUTTER_ORIENTATION_HORIZONTAL;
|
: CLUTTER_ORIENTATION_HORIZONTAL;
|
||||||
|
|
||||||
if (clutter_box_layout_get_orientation (CLUTTER_BOX_LAYOUT (layout)) != orientation)
|
if (clutter_box_layout_get_orientation (CLUTTER_BOX_LAYOUT (layout)) != orientation)
|
||||||
{
|
|
||||||
clutter_box_layout_set_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]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user