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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user