Use the right GValue getter for GtkConstraintGuide:strength

The property is defined as an enum.

This fixes the defaultvalue and notify tests.
This commit is contained in:
Emmanuele Bassi
2019-07-01 18:02:19 +01:00
parent 4dd1de4129
commit b435dc4366

View File

@@ -307,7 +307,7 @@ gtk_constraint_guide_get_property (GObject *gobject,
break;
case PROP_STRENGTH:
g_value_set_int (value, self->strength);
g_value_set_enum (value, self->strength);
break;
case PROP_NAME: