[gnome-control-center/gnome-3-14] wacom: Drop usage of last-calibration-resolution



commit a83054532d0b9f253f9bef16eca0a8779bde8d7f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Apr 29 19:29:08 2015 +0200

    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

 panels/wacom/cc-wacom-page.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 2f7fc42..d75e13c 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]