From b435dc436698c89cfc2a487a28b2fb6208628941 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 1 Jul 2019 18:02:19 +0100 Subject: [PATCH] Use the right GValue getter for GtkConstraintGuide:strength The property is defined as an enum. This fixes the defaultvalue and notify tests. --- gtk/gtkconstraintguide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: