summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2022-02-12 14:42:57 +0100
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-02-12 16:03:37 +0000
commit3f12a7d2cba903ba6f0b7c3c3b2176a9d7387d87 (patch)
tree3416bb1b2520423c161ff93cf87d56263f032697
parent6c6499e23e9d2bb522e980acbd21ad70ea513d2d (diff)
downloadgnome-control-center-3f12a7d2cba903ba6f0b7c3c3b2176a9d7387d87.tar.gz
wacom: Allow NULL monitors in calibration
Unfortunately, this may be the case, it is better to show wonky UI than no UI at all.
-rw-r--r--panels/wacom/cc-wacom-page.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 0753e6e8f..ad4c569ed 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -278,8 +278,7 @@ calibrate (CcWacomPage *page)
/* The display the tablet should be mapped to could not be located.
* This shouldn't happen if the EDID data is good...
*/
- g_critical("Output associated with the tablet is not connected. Unable to calibrate.");
- return;
+ g_critical("Output associated with the tablet is not connected. Calibration may appear in wrong monitor.");
}
old_calibration = g_settings_get_value (page->wacom_settings, "area");