From b206777640f6d2e4699cb3f7dc39420405e97565 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 15 Sep 2016 10:18:55 +0000 Subject: Don't use deprecated -GtkWidget-focus-line-width style property anymore, replace by outline-width property. --- src/dash-button.vala | 2 +- src/flat-button.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dash-button.vala b/src/dash-button.vala index 5a486f7..4554dc2 100644 --- a/src/dash-button.vala +++ b/src/dash-button.vala @@ -68,7 +68,7 @@ public class DashButton : FlatButton, Fadable { var style = new Gtk.CssProvider (); style.load_from_data ("* {padding: 6px 8px 6px 8px; - -GtkWidget-focus-line-width: 0px; + outline-width: 0px; }", -1); this.get_style_context ().add_provider (style, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION); } diff --git a/src/flat-button.vala b/src/flat-button.vala index fc77fe1..9177f22 100644 --- a/src/flat-button.vala +++ b/src/flat-button.vala @@ -27,7 +27,7 @@ public class FlatButton : Gtk.Button try { var style = new Gtk.CssProvider (); - style.load_from_data ("* {-GtkWidget-focus-line-width: 1px; + style.load_from_data ("* {outline-width: 1px; }", -1); get_style_context ().add_provider (style, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION); } -- cgit v1.2.3