st: Annotate getters/setters
Some properties have getters and setters that don't follow the usual naming scheme, and they are therefore not recognized automatically. Annotate the properties so that g-ir-scanner picks up the methods. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3620>
This commit is contained in:
parent
4092882005
commit
dc1298565d
@ -924,7 +924,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
|
||||
ST_PARAM_READABLE);
|
||||
|
||||
/**
|
||||
* StScrollView:enable-mouse-scrolling:
|
||||
* StScrollView:enable-mouse-scrolling: (getter get_mouse_scrolling) (setter set_mouse_scrolling):
|
||||
*
|
||||
* Whether to enable automatic mouse wheel scrolling.
|
||||
*/
|
||||
|
@ -893,7 +893,7 @@ st_widget_class_init (StWidgetClass *klass)
|
||||
klass->get_focus_chain = st_widget_real_get_focus_chain;
|
||||
|
||||
/**
|
||||
* StWidget:pseudo-class:
|
||||
* StWidget:pseudo-class: (getter get_style_pseudo_class) (setter set_style_pseudo_class):
|
||||
*
|
||||
* The pseudo-class of the actor. Typical values include "hover", "active",
|
||||
* "focus".
|
||||
@ -904,7 +904,7 @@ st_widget_class_init (StWidgetClass *klass)
|
||||
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
/**
|
||||
* StWidget:style-class:
|
||||
* StWidget:style-class: (getter get_style_class_name) (setter set_style_class_name):
|
||||
*
|
||||
* The style-class of the actor for use in styling.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user