parent
97c2db1cfd
commit
ce629b09b2
@ -720,9 +720,7 @@ st_table_allocate (ClutterActor *self,
|
|||||||
CLUTTER_ACTOR_CLASS (st_table_parent_class)->allocate (self, box, flags);
|
CLUTTER_ACTOR_CLASS (st_table_parent_class)->allocate (self, box, flags);
|
||||||
|
|
||||||
if (priv->n_cols < 1 || priv->n_rows < 1)
|
if (priv->n_cols < 1 || priv->n_rows < 1)
|
||||||
{
|
|
||||||
return;
|
return;
|
||||||
};
|
|
||||||
|
|
||||||
st_theme_node_get_content_box (theme_node, box, &content_box);
|
st_theme_node_get_content_box (theme_node, box, &content_box);
|
||||||
|
|
||||||
|
@ -753,7 +753,8 @@ st_widget_hide (ClutterActor *actor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
st_widget_get_paint_volume (ClutterActor *self, ClutterPaintVolume *volume)
|
st_widget_get_paint_volume (ClutterActor *self,
|
||||||
|
ClutterPaintVolume *volume)
|
||||||
{
|
{
|
||||||
ClutterActorBox paint_box, alloc_box;
|
ClutterActorBox paint_box, alloc_box;
|
||||||
StThemeNode *theme_node;
|
StThemeNode *theme_node;
|
||||||
@ -764,9 +765,9 @@ st_widget_get_paint_volume (ClutterActor *self, ClutterPaintVolume *volume)
|
|||||||
if (!clutter_actor_has_allocation (self))
|
if (!clutter_actor_has_allocation (self))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
priv = ST_WIDGET(self)->priv;
|
priv = ST_WIDGET (self)->priv;
|
||||||
|
|
||||||
theme_node = st_widget_get_theme_node (ST_WIDGET(self));
|
theme_node = st_widget_get_theme_node (ST_WIDGET (self));
|
||||||
clutter_actor_get_allocation_box (self, &alloc_box);
|
clutter_actor_get_allocation_box (self, &alloc_box);
|
||||||
|
|
||||||
if (priv->transition_animation)
|
if (priv->transition_animation)
|
||||||
|
Loading…
Reference in New Issue
Block a user