diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-28 17:07:40 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-28 17:07:40 +0100 |
commit | 44c15cac8d362deb7a4febd16d9dc2288f4f54e7 (patch) | |
tree | 599aedd002c465d4b0f4f1601332e999c5bbdb59 /capplets/about-me | |
parent | 2df56b620bc0b98adad27688985be31d5c830242 (diff) | |
download | mate-control-center-44c15cac8d362deb7a4febd16d9dc2288f4f54e7.tar.bz2 mate-control-center-44c15cac8d362deb7a4febd16d9dc2288f4f54e7.tar.xz |
Fix some gcc warnings
Diffstat (limited to 'capplets/about-me')
-rw-r--r-- | capplets/about-me/fingerprint-strings.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/capplets/about-me/fingerprint-strings.h b/capplets/about-me/fingerprint-strings.h index d1b919e9..20446a0b 100644 --- a/capplets/about-me/fingerprint-strings.h +++ b/capplets/about-me/fingerprint-strings.h @@ -58,32 +58,6 @@ static const char *finger_str_to_msg(const char *finger_name, gboolean is_swipe) } /* Cases not handled: - * verify-no-match - * verify-match - * verify-unknown-error - */ -static const char *verify_result_str_to_msg(const char *result, gboolean is_swipe) -{ - if (result == NULL) - return NULL; - - if (strcmp (result, "verify-retry-scan") == 0) { - if (is_swipe == FALSE) - return N_("Place your finger on the reader again"); - else - return N_("Swipe your finger again"); - } - if (strcmp (result, "verify-swipe-too-short") == 0) - return N_("Swipe was too short, try again"); - if (strcmp (result, "verify-finger-not-centered") == 0) - return N_("Your finger was not centered, try swiping your finger again"); - if (strcmp (result, "verify-remove-and-retry") == 0) - return N_("Remove your finger, and try swiping your finger again"); - - return NULL; -} - -/* Cases not handled: * enroll-completed * enroll-failed * enroll-unknown-error |