label: Fix get_natural_wrap_mode() precondition check

This commit is contained in:
Timm Bäder 2021-12-22 17:38:05 +01:00
parent 74f58a49b9
commit e5a88b64b1

View File

@ -4119,7 +4119,7 @@ gtk_label_set_natural_wrap_mode (GtkLabel *self,
GtkNaturalWrapMode
gtk_label_get_natural_wrap_mode (GtkLabel *self)
{
g_return_val_if_fail (GTK_IS_LABEL (self), PANGO_WRAP_CHAR);
g_return_val_if_fail (GTK_IS_LABEL (self), GTK_NATURAL_WRAP_INHERIT);
return self->natural_wrap_mode;
}