[gtk/wip/ebassi/constraint-layout] Use the right GValue getter for GtkConstraintGuide:strength
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/ebassi/constraint-layout] Use the right GValue getter for GtkConstraintGuide:strength
- Date: Mon, 1 Jul 2019 17:04:33 +0000 (UTC)
commit b435dc436698c89cfc2a487a28b2fb6208628941
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jul 1 18:02:19 2019 +0100
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]