@@ -82,7 +82,7 @@ public class EncryptView : AbstractInstallerView {
8282 message_box. append (keyboard_row);
8383
8484 pw_error_revealer = new ErrorRevealer (" ." );
85- pw_error_revealer. label_widget. add_css_class (Granite . STYLE_CLASS_WARNING );
85+ pw_error_revealer. label_widget. add_css_class (Granite . CssClass . WARNING );
8686
8787 pw_entry = new ValidatedEntry ();
8888
@@ -108,7 +108,7 @@ public class EncryptView : AbstractInstallerView {
108108 };
109109
110110 confirm_entry_revealer = new ErrorRevealer (" ." );
111- confirm_entry_revealer.label_widget.add_css_class (Granite .STYLE_CLASS_ERROR );
111+ confirm_entry_revealer.label_widget.add_css_class (Granite .CssClass . ERROR );
112112
113113 var password_box = new Gtk .Box (VERTICAL , 6 );
114114 password_box.append (pw_label );
@@ -133,7 +133,7 @@ public class EncryptView : AbstractInstallerView {
133133 next_button = new Gtk .Button .with_label (_(SKIP_STRING )) {
134134 receives_default = true
135135 };
136- next_button.add_css_class (Granite .STYLE_CLASS_SUGGESTED_ACTION );
136+ next_button.add_css_class (Granite .CssClass . SUGGESTED );
137137
138138 action_box_end.append (encrypt_button );
139139 action_box_end.append (next_button );
@@ -289,7 +289,7 @@ public class EncryptView : AbstractInstallerView {
289289 wrap = true ,
290290 xalign = 1
291291 };
292- label_widget. add_css_class (Granite . STYLE_CLASS_SMALL_LABEL );
292+ label_widget. add_css_class (Granite . CssClass . SMALL );
293293
294294 var revealer = new Gtk .Revealer () {
295295 child = label_widget,
0 commit comments