mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 11:50:21 +00:00
picture: Fix Since and Deprecated annotations
gi-docgen will parse four or more whitespaces of indentation as code blocks, two whitespaces were used. This was missing in https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4873.
This commit is contained in:
parent
f480ff2e4d
commit
ef07d1556b
@ -456,6 +456,8 @@ gtk_picture_class_init (GtkPictureClass *class)
|
||||
* GtkPicture:content-fit: (attributes org.gtk.Property.get=gtk_picture_get_content_fit org.gtk.Property.set=gtk_picture_set_content_fit)
|
||||
*
|
||||
* How the content should be resized to fit inside the `GtkPicture`.
|
||||
*
|
||||
* Since: 4.8
|
||||
*/
|
||||
properties[PROP_CONTENT_FIT] =
|
||||
g_param_spec_enum ("content-fit", NULL, NULL,
|
||||
@ -974,6 +976,8 @@ gtk_picture_get_can_shrink (GtkPicture *self)
|
||||
* Sets how the content should be resized to fit the `GtkPicture`.
|
||||
*
|
||||
* See [enum@Gtk.ContentFit] for details.
|
||||
*
|
||||
* Since: 4.8
|
||||
*/
|
||||
void
|
||||
gtk_picture_set_content_fit (GtkPicture *self,
|
||||
@ -1008,6 +1012,8 @@ gtk_picture_set_content_fit (GtkPicture *self,
|
||||
* See [enum@Gtk.ContentFit] for details.
|
||||
*
|
||||
* Returns: the content fit mode
|
||||
*
|
||||
* Since: 4.8
|
||||
*/
|
||||
GtkContentFit
|
||||
gtk_picture_get_content_fit (GtkPicture *self)
|
||||
|
Loading…
Reference in New Issue
Block a user