Commit 0218a667 authored by Philipp Unger's avatar Philipp Unger
Browse files

use add_provider_for_display instead of add_provider_for_screen

parent 1d8e6299
Pipeline #418200 failed with stages
in 27 seconds
......@@ -105,9 +105,9 @@ namespace Connections {
var file = File.new_for_uri ("resource:///org/gnome/Connections/ui/style.css");
style_provider.load_from_file (file);
// Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (),
// style_provider,
// Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
Gtk.StyleContext.add_provider_for_display (Gdk.Display.get_default (),
style_provider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
} catch (GLib.Error error) {
warning ("Failed to load CSS: %s", error.message);
}
......
Supports Markdown
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