- if (MODEST_IS_SECUREAUTH_COMBO_BOX (priv->auth_view)) {
- modest_secureauth_combo_box_set_active_secureauth (
- MODEST_SECUREAUTH_COMBO_BOX (priv->auth_view), secure_auth);
- } else {
-#ifdef MODEST_TOOLKIT_HILDON2
- modest_secureauth_picker_set_active_secureauth (
- MODEST_SECUREAUTH_PICKER (priv->auth_view), secure_auth);
-#endif
- }
+ modest_secureauth_selector_set_active_secureauth (
+ priv->auth_view, secure_auth);