[gnome-control-center] wacom: Update from gnome-settings-daemon
- From: Olivier Fourdan <ofourdan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Update from gnome-settings-daemon
- Date: Thu, 5 Jul 2012 16:28:19 +0000 (UTC)
commit 836755f593a3e31b6d22a0ef21e08937170970af
Author: Olivier Fourdan <ofourdan redhat com>
Date: Thu Jul 5 18:27:56 2012 +0200
wacom: Update from gnome-settings-daemon
panels/wacom/gsd-wacom-device.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/wacom/gsd-wacom-device.c b/panels/wacom/gsd-wacom-device.c
index 0d865cc..fad3e63 100644
--- a/panels/wacom/gsd-wacom-device.c
+++ b/panels/wacom/gsd-wacom-device.c
@@ -912,7 +912,8 @@ gsd_wacom_device_get_display_rotation (GsdWacomDevice *device)
rr_output = find_output (rr_screen, device);
if (rr_output) {
GnomeRRCrtc *crtc = gnome_rr_output_get_crtc (rr_output);
- rotation = gnome_rr_crtc_get_current_rotation (crtc);
+ if (crtc)
+ rotation = gnome_rr_crtc_get_current_rotation (crtc);
}
g_object_unref (rr_screen);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]