GtkFlowBox: Explicitly notify orientation
This commit is contained in:
@ -3555,14 +3555,12 @@ gtk_flow_box_set_property (GObject *object,
|
||||
switch (prop_id)
|
||||
{
|
||||
case PROP_ORIENTATION:
|
||||
if (priv->orientation != g_value_get_enum (value))
|
||||
{
|
||||
GtkOrientation orientation = g_value_get_enum (value);
|
||||
if (priv->orientation != orientation)
|
||||
{
|
||||
priv->orientation = orientation;
|
||||
priv->orientation = g_value_get_enum (value);
|
||||
/* Re-box the children in the new orientation */
|
||||
gtk_widget_queue_resize (GTK_WIDGET (box));
|
||||
}
|
||||
g_object_notify_by_pspec (object, pspec);
|
||||
}
|
||||
break;
|
||||
case PROP_HOMOGENEOUS:
|
||||
|
Reference in New Issue
Block a user