diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2019-07-01 18:02:19 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2019-07-01 18:02:19 +0100 |
commit | b435dc436698c89cfc2a487a28b2fb6208628941 (patch) | |
tree | 17b27502d9e8a6c468e8d983bd07c65daa0466aa | |
parent | 4dd1de41293cdb5ca06d64136ab5549794f1cac3 (diff) | |
download | gtk+-b435dc436698c89cfc2a487a28b2fb6208628941.tar.gz |
Use the right GValue getter for GtkConstraintGuide:strength
The property is defined as an enum.
This fixes the defaultvalue and notify tests.
-rw-r--r-- | gtk/gtkconstraintguide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkconstraintguide.c b/gtk/gtkconstraintguide.c index 3159e905ee..de7bb03499 100644 --- a/gtk/gtkconstraintguide.c +++ b/gtk/gtkconstraintguide.c @@ -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: |