X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot-ui.git;a=blobdiff_plain;f=src%2Fmoonshot-id.vala;h=e57825783dd6329ff6adffb6760a5354c0e709ef;hp=27d1c8b15c47bb4d4e5e87ac4e388c411e38163b;hb=3be9164b4ef280f25b996238a135b2f29e95e8fb;hpb=5945fe01218c5f9534c8017726db2d5fcb358b84 diff --git a/src/moonshot-id.vala b/src/moonshot-id.vala index 27d1c8b..e578257 100644 --- a/src/moonshot-id.vala +++ b/src/moonshot-id.vala @@ -71,8 +71,8 @@ public class IdCard : Object public string display_name { get; set; default = ""; } public string username { get; set; default = ""; } - #if GNOME_KEYRING - private unowned string _password; +#if GNOME_KEYRING + private unowned string _password; public string password { get { return (_password!=null) ? _password : ""; @@ -86,11 +86,11 @@ public class IdCard : Object _password = GnomeKeyring.memory_strdup(value); } } - #else - public string password { get; set; default = null; } - #endif +#else + public string password { get; set; default = null; } +#endif - public string issuer { get; set; default = ""; } + public string issuer { get; set; default = ""; } public Rule[] rules {get; set; default = {};} public string[] services { get; set; default = {}; }