[baobab] Avoid GTK+ deprecations



commit 30ab0955678cead1038b6ef9fa69f55bd8276262
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Mon Apr 11 14:51:46 2016 +0200

    Avoid GTK+ deprecations

 src/baobab-window.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index ea90cad..76a43f8 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -118,7 +118,7 @@ namespace Baobab {
             Object (application: app);
 
             if (busy_cursor == null) {
-                busy_cursor = new Gdk.Cursor (Gdk.CursorType.WATCH);
+                busy_cursor = new Gdk.Cursor.for_display (get_display(), Gdk.CursorType.WATCH);
             }
 
             ui_settings = Application.get_default ().ui_settings;


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