summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmate-desktop/mate-rr-labeler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-rr-labeler.c b/libmate-desktop/mate-rr-labeler.c
index f7e666e..d498520 100644
--- a/libmate-desktop/mate-rr-labeler.c
+++ b/libmate-desktop/mate-rr-labeler.c
@@ -175,7 +175,7 @@ mate_rr_labeler_set_property (GObject *gobject, guint property_id, const GValue
switch (property_id) {
case PROP_CONFIG:
- self->priv->config = MATE_RR_CONFIG (g_value_get_object (value));
+ self->priv->config = MATE_RR_CONFIG (g_value_dup_object (value));
return;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, property_id, param_spec);