[gnome-control-center] wacom: Fix segfault when trying to check if the tablet has a monitor



commit 48164b5a3f889dbf17ff71909535fcc3fb75fbf1
Author: Joaquim Rocha <jrocha redhat com>
Date:   Thu Jun 6 15:32:41 2013 +0200

    wacom: Fix segfault when trying to check if the tablet has a monitor
    
    The check method had been changed in order to use the CcWacomPage
    instead of its private struct but one of the calls to it wasn't updated.

 panels/wacom/cc-wacom-page.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 766b246..90dc8fc 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -1383,7 +1383,7 @@ update_tablet_ui (CcWacomPage *page,
 
                gtk_widget_show (WID ("button-calibrate"));
                gtk_widget_set_sensitive (WID ("button-calibrate"),
-                                         has_monitor (priv));
+                                         has_monitor (page));
 
                gtk_container_child_set (CWID ("main-grid"),
                                         WID ("tablet-buttons-box"),


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