docs: Fix annotations in GtkCenterLayout

Missing ':' separator.
This commit is contained in:
Emmanuele Bassi 2020-12-01 14:44:28 +00:00
parent 37f11ab77d
commit eba8f36d4f

View File

@ -613,13 +613,15 @@ gtk_center_layout_set_baseline_position (GtkCenterLayout *self,
GtkBaselinePosition GtkBaselinePosition
gtk_center_layout_get_baseline_position (GtkCenterLayout *self) gtk_center_layout_get_baseline_position (GtkCenterLayout *self)
{ {
g_return_val_if_fail (GTK_IS_CENTER_LAYOUT (self), GTK_BASELINE_POSITION_TOP);
return self->baseline_pos; return self->baseline_pos;
} }
/** /**
* gtk_center_layout_set_start_widget: * gtk_center_layout_set_start_widget:
* @self: a #GtkCenterLayout * @self: a #GtkCenterLayout
* @widget (nullable): the new start widget * @widget: (nullable): the new start widget
* *
* Sets the new start widget of @self. * Sets the new start widget of @self.
* *
@ -643,13 +645,15 @@ gtk_center_layout_set_start_widget (GtkCenterLayout *self,
GtkWidget * GtkWidget *
gtk_center_layout_get_start_widget (GtkCenterLayout *self) gtk_center_layout_get_start_widget (GtkCenterLayout *self)
{ {
g_return_val_if_fail (GTK_IS_CENTER_LAYOUT (self), NULL);
return self->start_widget; return self->start_widget;
} }
/** /**
* gtk_center_layout_set_center_widget: * gtk_center_layout_set_center_widget:
* @self: a #GtkCenterLayout * @self: a #GtkCenterLayout
* @widget (nullable): the new center widget * @widget: (nullable): the new center widget
* *
* Sets the new center widget of @self. * Sets the new center widget of @self.
* *