mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
Merge branch 'wip/dboles/scrolledwindow-annotations' into 'master'
ScrolledWindow: Replace deprecated annotations; add (nullable) to set_[hvadjustment]() See merge request GNOME/gtk!868 (cherry picked from commit28c40a4c3d
)45a98d6a
ScrolledWindow: Replace deprecated (allow-none)7575d521
ScrolledWindow: Annotate h|vadjustment as nullable
This commit is contained in:
parent
e56a9e6ce5
commit
e47375cc64
@ -2218,8 +2218,8 @@ gtk_scrolled_window_init (GtkScrolledWindow *scrolled_window)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_scrolled_window_new:
|
* gtk_scrolled_window_new:
|
||||||
* @hadjustment: (allow-none): horizontal adjustment
|
* @hadjustment: (nullable): horizontal adjustment
|
||||||
* @vadjustment: (allow-none): vertical adjustment
|
* @vadjustment: (nullable): vertical adjustment
|
||||||
*
|
*
|
||||||
* Creates a new scrolled window.
|
* Creates a new scrolled window.
|
||||||
*
|
*
|
||||||
@ -2253,7 +2253,7 @@ gtk_scrolled_window_new (GtkAdjustment *hadjustment,
|
|||||||
/**
|
/**
|
||||||
* gtk_scrolled_window_set_hadjustment:
|
* gtk_scrolled_window_set_hadjustment:
|
||||||
* @scrolled_window: a #GtkScrolledWindow
|
* @scrolled_window: a #GtkScrolledWindow
|
||||||
* @hadjustment: horizontal scroll adjustment
|
* @hadjustment: (nullable): the #GtkAdjustment to use, or %NULL to create a new one
|
||||||
*
|
*
|
||||||
* Sets the #GtkAdjustment for the horizontal scrollbar.
|
* Sets the #GtkAdjustment for the horizontal scrollbar.
|
||||||
*/
|
*/
|
||||||
@ -2329,7 +2329,7 @@ gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window,
|
|||||||
/**
|
/**
|
||||||
* gtk_scrolled_window_set_vadjustment:
|
* gtk_scrolled_window_set_vadjustment:
|
||||||
* @scrolled_window: a #GtkScrolledWindow
|
* @scrolled_window: a #GtkScrolledWindow
|
||||||
* @vadjustment: vertical scroll adjustment
|
* @vadjustment: (nullable): the #GtkAdjustment to use, or %NULL to create a new one
|
||||||
*
|
*
|
||||||
* Sets the #GtkAdjustment for the vertical scrollbar.
|
* Sets the #GtkAdjustment for the vertical scrollbar.
|
||||||
*/
|
*/
|
||||||
@ -2524,9 +2524,9 @@ gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolled_window,
|
|||||||
/**
|
/**
|
||||||
* gtk_scrolled_window_get_policy:
|
* gtk_scrolled_window_get_policy:
|
||||||
* @scrolled_window: a #GtkScrolledWindow
|
* @scrolled_window: a #GtkScrolledWindow
|
||||||
* @hscrollbar_policy: (out) (allow-none): location to store the policy
|
* @hscrollbar_policy: (out) (optional): location to store the policy
|
||||||
* for the horizontal scrollbar, or %NULL
|
* for the horizontal scrollbar, or %NULL
|
||||||
* @vscrollbar_policy: (out) (allow-none): location to store the policy
|
* @vscrollbar_policy: (out) (optional): location to store the policy
|
||||||
* for the vertical scrollbar, or %NULL
|
* for the vertical scrollbar, or %NULL
|
||||||
*
|
*
|
||||||
* Retrieves the current policy values for the horizontal and vertical
|
* Retrieves the current policy values for the horizontal and vertical
|
||||||
|
Loading…
Reference in New Issue
Block a user