[seahorse/wip/sadiq/fixes: 4/4] gkr: Replace a deprecated function
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse/wip/sadiq/fixes: 4/4] gkr: Replace a deprecated function
- Date: Thu, 23 Aug 2018 18:37:16 +0000 (UTC)
commit 3cb81424d977078336df5474a149c7ec34548f09
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Tue Aug 21 22:55:20 2018 +0530
gkr: Replace a deprecated function
gkr/gkr-dialogs.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gkr/gkr-dialogs.vala b/gkr/gkr-dialogs.vala
index bd852b3f..d70f41b0 100644
--- a/gkr/gkr-dialogs.vala
+++ b/gkr/gkr-dialogs.vala
@@ -37,7 +37,7 @@ public class Dialog {
*/
Gdk.Cursor? cursor = widget.get_data("wait-cursor");
if (cursor == null) {
- cursor = new Gdk.Cursor (Gdk.CursorType.WATCH);
+ cursor = new Gdk.Cursor.from_name (Gdk.Display.get_default(), "wait");
widget.set_data("wait-cursor", cursor);
}
@@ -80,4 +80,4 @@ public class Dialog {
}
}
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]