st/scroll-view: Deprecate {v,h}scroll properties
We have better replacements now, so we'll eventually want to stop exposing the internal scroll bar children. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3020>
This commit is contained in:
parent
998d703bc2
commit
b1cfe1732d
@ -882,7 +882,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
|
||||
"StScrollBar",
|
||||
"Horizontal scroll indicator",
|
||||
ST_TYPE_SCROLL_BAR,
|
||||
ST_PARAM_READABLE);
|
||||
ST_PARAM_READABLE | G_PARAM_DEPRECATED);
|
||||
|
||||
/**
|
||||
* StScrollView:vscroll:
|
||||
@ -894,7 +894,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
|
||||
"StScrollBar",
|
||||
"Vertical scroll indicator",
|
||||
ST_TYPE_SCROLL_BAR,
|
||||
ST_PARAM_READABLE);
|
||||
ST_PARAM_READABLE | G_PARAM_DEPRECATED);
|
||||
|
||||
/**
|
||||
* StScrollView:hadjustment:
|
||||
|
@ -53,7 +53,9 @@ StScrollable *st_scroll_view_get_child (StScrollView *scroll);
|
||||
void st_scroll_view_set_child (StScrollView *scroll,
|
||||
StScrollable *child);
|
||||
|
||||
G_DEPRECATED
|
||||
ClutterActor *st_scroll_view_get_hscroll_bar (StScrollView *scroll);
|
||||
G_DEPRECATED
|
||||
ClutterActor *st_scroll_view_get_vscroll_bar (StScrollView *scroll);
|
||||
|
||||
StAdjustment *st_scroll_view_get_hadjustment (StScrollView *scroll);
|
||||
|
Loading…
x
Reference in New Issue
Block a user