[baobab] window: Stop using gdk_cursor_new_for_display



commit ce74a6605aeb93cd512727f878ecda3c99a7085f
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Thu Nov 2 09:45:41 2017 +0100

    window: Stop using gdk_cursor_new_for_display
    
    It will go away with GTK+4.

 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 4c6ddb6..f34d900 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -116,7 +116,7 @@ namespace Baobab {
             Object (application: app);
 
             if (busy_cursor == null) {
-                busy_cursor = new Gdk.Cursor.for_display (get_display(), Gdk.CursorType.WATCH);
+                busy_cursor = new Gdk.Cursor.from_name (get_display(), "wait");
             }
 
             var ui_settings = new Settings ("org.gnome.baobab.ui");


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