fp-print: Clear the data not the description when setting the property
This commit is contained in:
parent
e7c7f368c9
commit
44af2173a8
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ fp_print_set_property (GObject *object,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PROP_FPI_DATA:
|
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);
|
self->data = g_value_dup_variant (value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue