[gnome-games/wip/exalm/gtk4: 46/62] application: Replace GdkScreen with GdkDisplay
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/gtk4: 46/62] application: Replace GdkScreen with GdkDisplay
- Date: Fri, 19 Oct 2018 14:49:58 +0000 (UTC)
commit 1974f43e7bbe7f1cfced9dc583dd307a281687fc
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Jul 29 13:39:36 2018 +0500
application: Replace GdkScreen with GdkDisplay
src/ui/application.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/application.vala b/src/ui/application.vala
index 7d1797fe..c3db9b51 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -214,9 +214,9 @@ public class Games.Application : Gtk.Application {
protected override void activate () {
Gtk.Settings.get_default ().gtk_application_prefer_dark_theme = true;
- var screen = Gdk.Screen.get_default ();
+ var display = Gdk.Display.get_default ();
var provider = load_css ("gtk-style.css");
- Gtk.StyleContext.add_provider_for_screen (screen, provider, 600);
+ Gtk.StyleContext.add_provider_for_display (display, provider, 600);
load_game_list.begin ();
ListStore list_store = new ListStore (typeof (Game));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]