aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-15 10:02:52 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-15 10:02:52 +0000
commit47ff24f2a5603229f8be1d3203ed6312d2fbcd13 (patch)
treef0bae3a5efc72e39f69eb28049f20c9dd91384d5
parentb262c5e66d39322237782112b46fb8fe33669022 (diff)
downloadarctica-greeter-47ff24f2a5603229f8be1d3203ed6312d2fbcd13.tar.gz
arctica-greeter-47ff24f2a5603229f8be1d3203ed6312d2fbcd13.tar.bz2
arctica-greeter-47ff24f2a5603229f8be1d3203ed6312d2fbcd13.zip
Don't use deprecated GtkButton-child-displacement-{x|y} style properties anymore.
-rw-r--r--src/flat-button.vala4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/flat-button.vala b/src/flat-button.vala
index b56cc46..fc77fe1 100644
--- a/src/flat-button.vala
+++ b/src/flat-button.vala
@@ -27,9 +27,7 @@ public class FlatButton : Gtk.Button
try
{
var style = new Gtk.CssProvider ();
- style.load_from_data ("* {-GtkButton-child-displacement-x: 0px;
- -GtkButton-child-displacement-y: 0px;
- -GtkWidget-focus-line-width: 1px;
+ style.load_from_data ("* {-GtkWidget-focus-line-width: 1px;
}", -1);
get_style_context ().add_provider (style, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
}