Changes for building on Centos 6
[moonshot-ui.git] / src / moonshot-trust-anchor-dialog.vala
index 04fc1e0..a489303 100644 (file)
@@ -57,11 +57,11 @@ public class TrustAnchorConfirmationRequest : GLib.Object {
 
     public void set_callback(owned TrustAnchorConfirmationCallback cb)
     {
-//        #if VALA_0_12
+#if VALA_0_12
             this.callback = ((owned) cb);
-//        #else
-//            this.callback = ((IdCard) => cb(IdCard));
-//        #endif
+#else
+            this.callback = ((IdCard) => cb(IdCard));
+#endif
     }
 
     public bool execute() {
@@ -144,7 +144,7 @@ class TrustAnchorDialog : Dialog
                              string realm,
                              string fingerprint)
     {
-        string server_ta_label_text = _("Servers trust anchor certificate (SHA-256 fingerprint):");
+        string server_ta_label_text = _("Server's trust anchor certificate (SHA-256 fingerprint):");
 
         this.set_title(_("Trust Anchor"));
         this.set_modal(true);