st/adjustment: Add ::actor property
Will be used by transitions to set the timeline actor. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1299
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
4aabcd9e7d
commit
5ea54426b9
@ -899,13 +899,17 @@ st_scroll_view_init (StScrollView *self)
|
||||
priv->hscrollbar_policy = ST_POLICY_AUTOMATIC;
|
||||
priv->vscrollbar_policy = ST_POLICY_AUTOMATIC;
|
||||
|
||||
priv->hadjustment = g_object_new (ST_TYPE_ADJUSTMENT, NULL);
|
||||
priv->hadjustment = g_object_new (ST_TYPE_ADJUSTMENT,
|
||||
"actor", self,
|
||||
NULL);
|
||||
priv->hscroll = g_object_new (ST_TYPE_SCROLL_BAR,
|
||||
"adjustment", priv->hadjustment,
|
||||
"vertical", FALSE,
|
||||
NULL);
|
||||
|
||||
priv->vadjustment = g_object_new (ST_TYPE_ADJUSTMENT, NULL);
|
||||
priv->vadjustment = g_object_new (ST_TYPE_ADJUSTMENT,
|
||||
"actor", self,
|
||||
NULL);
|
||||
priv->vscroll = g_object_new (ST_TYPE_SCROLL_BAR,
|
||||
"adjustment", priv->vadjustment,
|
||||
"vertical", TRUE,
|
||||
|
Reference in New Issue
Block a user