fp-print: Clear the data not the description when setting the property

This commit is contained in:
Marco Trevisan (Treviño) 2019-12-03 19:53:19 +01:00
parent e7c7f368c9
commit 44af2173a8

View file

@ -207,7 +207,7 @@ fp_print_set_property (GObject *object,
break;
case PROP_FPI_DATA:
g_clear_pointer (&self->description, g_variant_unref);
g_clear_pointer (&self->data, g_variant_unref);
self->data = g_value_dup_variant (value);
break;