[dconf-editor] Cleanup.



commit 3e6964c36a902742cdc1192e0836714fa3cfc82b
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Jan 7 08:00:29 2017 +0100

    Cleanup.

 editor/dconf-view.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/editor/dconf-view.vala b/editor/dconf-view.vala
index 092f7f4..a3827c2 100644
--- a/editor/dconf-view.vala
+++ b/editor/dconf-view.vala
@@ -107,7 +107,7 @@ private class KeyEditorChildFlags : Grid, KeyEditorChild
         button.visible = true;
         button.use_popover = true;
         button.halign = Align.START;
-        ((StyleContext) button.get_style_context ()).add_class ("image-button");
+        button.get_style_context ().add_class ("image-button");
         this.add (button);
 
         label.visible = true;
@@ -202,7 +202,7 @@ private class KeyEditorChildBool : Box, KeyEditorChild // might be managed by ac
         this.halign = Align.START;
         this.homogeneous = true;
         this.width_request = 100;
-        ((StyleContext) this.get_style_context ()).add_class ("linked");
+        this.get_style_context ().add_class ("linked");
 
         ToggleButton button_false = new ToggleButton ();
         button_false.visible = true;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]