[gnome-control-center] wacom: Drop deprecated API usage
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Drop deprecated API usage
- Date: Fri, 5 Dec 2014 15:16:14 +0000 (UTC)
commit 205a0cd4bd1f97d5ecb2aff5caaa93920a3ba858
Author: Rui Matos <tiagomatos gmail com>
Date: Sat Nov 29 16:46:14 2014 +0100
wacom: Drop deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
panels/wacom/calibrator/calibrator-gui.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/wacom/calibrator/calibrator-gui.c b/panels/wacom/calibrator/calibrator-gui.c
index 566db90..b1feff7 100644
--- a/panels/wacom/calibrator/calibrator-gui.c
+++ b/panels/wacom/calibrator/calibrator-gui.c
@@ -723,7 +723,7 @@ calib_area_new (GdkScreen *screen,
/* No cursor */
gtk_widget_realize (calib_area->window);
window = gtk_widget_get_window (calib_area->window);
- cursor = gdk_cursor_new (GDK_BLANK_CURSOR);
+ cursor = gdk_cursor_new_for_display (gdk_display_get_default (), GDK_BLANK_CURSOR);
gdk_window_set_cursor (window, cursor);
g_object_unref (cursor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]