summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-04-29 19:29:08 +0200
committerCarlos Garnacho <carlosg@gnome.org>2015-04-30 14:28:21 +0200
commita83054532d0b9f253f9bef16eca0a8779bde8d7f (patch)
treefd083ffc87c86456955ac1ade131b24ddf229ac0
parentead5ab1fc577245e250082a1d87effe53a02524f (diff)
downloadgnome-control-center-a83054532d0b9f253f9bef16eca0a8779bde8d7f.tar.gz
wacom: Drop usage of last-calibration-resolution
This is gone from the g-s-d schema, so just stop setting it. https://bugzilla.gnome.org/show_bug.cgi?id=748660
-rw-r--r--panels/wacom/cc-wacom-page.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 2f7fc422a..d75e13c67 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -136,7 +136,6 @@ set_calibration (GsdWacomDevice *device,
{
GVariant *current; /* current calibration */
GVariant *array; /* new calibration */
- GVariant *last_resolution;
GVariant **tmp;
gsize nvalues;
gint i;
@@ -160,13 +159,6 @@ set_calibration (GsdWacomDevice *device,
g_debug ("Setting area top (%d, %d) bottom (%d, %d) (last used resolution: %d x %d)",
cal[0], cal[1], cal[2], cal[3],
display_width, display_height);
-
- /* set the last-calibration-resolution */
- last_resolution = g_variant_new ("(ii)", display_width, display_height);
- settings = gsd_wacom_device_get_settings (device);
- g_settings_set_value (settings,
- "last-calibrated-resolution",
- last_resolution);
}
static void