From 44c15cac8d362deb7a4febd16d9dc2288f4f54e7 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 28 Jan 2014 17:07:40 +0100 Subject: Fix some gcc warnings --- capplets/about-me/fingerprint-strings.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'capplets/about-me') 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 @@ -57,32 +57,6 @@ static const char *finger_str_to_msg(const char *finger_name, gboolean is_swipe) return NULL; } -/* 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 -- cgit v1.2.1 From 38f7a4c66ec15897c05eb0f3577aaca4cb1b884d Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 28 Jan 2014 17:44:42 +0100 Subject: about-me: Remove unused constant --- capplets/about-me/mate-about-me.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'capplets/about-me') diff --git a/capplets/about-me/mate-about-me.c b/capplets/about-me/mate-about-me.c index 6e125d3c..164408d5 100644 --- a/capplets/about-me/mate-about-me.c +++ b/capplets/about-me/mate-about-me.c @@ -41,8 +41,6 @@ #define MAX_HEIGHT 100 #define MAX_WIDTH 100 -#define EMAIL_SLOTS 4 - typedef struct { GtkBuilder *dialog; -- cgit v1.2.1