aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-15 10:18:55 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-15 10:18:55 +0000
commitb206777640f6d2e4699cb3f7dc39420405e97565 (patch)
tree284678ff8a514feb968d7bed0898ac4db634b853 /src
parent47ff24f2a5603229f8be1d3203ed6312d2fbcd13 (diff)
downloadarctica-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.
Diffstat (limited to 'src')
-rw-r--r--src/dash-button.vala2
-rw-r--r--src/flat-button.vala2
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);
}