summaryrefslogtreecommitdiff
path: root/gladeui/glade-editor-property.c
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-06-10 17:27:23 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-06-10 17:27:23 -0300
commitdfefb0d3ae13686ca323d53afbc5c6ec48f546c3 (patch)
treed0dae69b37c8122d4eb37dd1ec5cad8d292ba8b8 /gladeui/glade-editor-property.c
parentf5e800eca8ffb277dcc31d293c76664990bba79c (diff)
downloadglade-dfefb0d3ae13686ca323d53afbc5c6ec48f546c3.tar.gz
Fix GValueArray deprecation warnings
Diffstat (limited to 'gladeui/glade-editor-property.c')
-rw-r--r--gladeui/glade-editor-property.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
index 34233871..aa911d7b 100644
--- a/gladeui/glade-editor-property.c
+++ b/gladeui/glade-editor-property.c
@@ -1917,7 +1917,7 @@ glade_eprop_text_load (GladeEditorProperty *eprop, GladeProperty *property)
/* Deprecated GValueArray */
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
- value_array_type = G_TYPE_VALUE_ARRAY;
+ value_array_type = g_value_array_get_type ();
G_GNUC_END_IGNORE_DEPRECATIONS;
buffer =
@@ -1973,7 +1973,7 @@ glade_eprop_text_changed_common (GladeEditorProperty *eprop,
/* Deprecated GValueArray */
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
- value_array_type = G_TYPE_VALUE_ARRAY;
+ value_array_type = g_value_array_get_type ();
G_GNUC_END_IGNORE_DEPRECATIONS;
pspec = glade_property_def_get_pspec (priv->property_def);
@@ -2432,7 +2432,7 @@ glade_eprop_text_create_input (GladeEditorProperty *eprop)
/* Deprecated GValueArray */
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
- value_array_type = G_TYPE_VALUE_ARRAY;
+ value_array_type = g_value_array_get_type ();
G_GNUC_END_IGNORE_DEPRECATIONS;
property_def = priv->property_def;