wacom: Do not unref variant consumed by GSettings
This avoids a critical warning. https://bugzilla.gnome.org/show_bug.cgi?id=700511
This commit is contained in:
parent
3c718fed5f
commit
3cf0addbfe
1 changed files with 0 additions and 1 deletions
|
@ -184,7 +184,6 @@ set_calibration (GsdWacomDevice *device,
|
||||||
g_settings_set_value (settings,
|
g_settings_set_value (settings,
|
||||||
"last-calibrated-resolution",
|
"last-calibrated-resolution",
|
||||||
last_resolution);
|
last_resolution);
|
||||||
g_clear_pointer (&last_resolution, g_variant_unref);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue