diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-09-15 10:18:55 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-09-15 10:18:55 +0000 |
commit | b206777640f6d2e4699cb3f7dc39420405e97565 (patch) | |
tree | 284678ff8a514feb968d7bed0898ac4db634b853 | |
parent | 47ff24f2a5603229f8be1d3203ed6312d2fbcd13 (diff) | |
download | arctica-greeter-b206777640f6d2e4699cb3f7dc39420405e97565.tar.gz arctica-greeter-b206777640f6d2e4699cb3f7dc39420405e97565.tar.bz2 arctica-greeter-b206777640f6d2e4699cb3f7dc39420405e97565.zip |
Don't use deprecated -GtkWidget-focus-line-width style property anymore, replace by outline-width property.
-rw-r--r-- | src/dash-button.vala | 2 | ||||
-rw-r--r-- | src/flat-button.vala | 2 |
2 files changed, 2 insertions, 2 deletions
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); } |