summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-06-10 17:27:14 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-06-10 17:27:14 -0300
commitf5e800eca8ffb277dcc31d293c76664990bba79c (patch)
tree46af4f86766f41b32237cd8ac4cc51334abb80c5
parent82213adda1f72ddf5298422a90c56fcadae8ce6b (diff)
downloadglade-f5e800eca8ffb277dcc31d293c76664990bba79c.tar.gz
GladeProperty: replace deprecated macro
-rw-r--r--gladeui/glade-property.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gladeui/glade-property.c b/gladeui/glade-property.c
index c7df0db0..46ff8684 100644
--- a/gladeui/glade-property.c
+++ b/gladeui/glade-property.c
@@ -634,9 +634,7 @@ glade_property_finalize (GObject *object)
static void
glade_property_init (GladeProperty *property)
{
- property->priv = G_TYPE_INSTANCE_GET_PRIVATE (property,
- GLADE_TYPE_PROPERTY,
- GladePropertyPrivate);
+ property->priv = glade_property_get_instance_private (property);
property->priv->precision = 2;
property->priv->enabled = TRUE;