Commit c87eae8e authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

fullscreen-box: Stop using Gdk.CursorType

The recommended way nowadays is to use `new Gdk.Cursor.from_name()` and
pass a css name as string rather than using the enum.
parent 986a19ff
......@@ -121,7 +121,7 @@ private class Games.FullscreenBox : Gtk.EventBox, Gtk.Buildable {
if (!show) {
var display = window.get_display ();
window.cursor = new Gdk.Cursor.for_display (display, Gdk.CursorType.BLANK_CURSOR);
window.cursor = new Gdk.Cursor.from_name (display, "none");
}
else
window.cursor = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment