[evolution] Removing a redundant virtual function
- From: Punit Jain <jpunit src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Removing a redundant virtual function
- Date: Wed, 9 Nov 2011 15:51:16 +0000 (UTC)
commit 1d419ce9b739458267b72f358fb3a36d4611e769
Author: Punit Jain <jpunit novell com>
Date: Wed Nov 9 21:23:21 2011 +0530
Removing a redundant virtual function
mail/em-account-editor.c | 4 +---
mail/em-account-editor.h | 1 -
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 39374a5..ffe38b7 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -235,7 +235,6 @@ enum {
static void em_account_editor_construct (EMAccountEditor *emae, EMAccountEditorType type, const gchar *id);
static void emae_account_folder_changed (EMFolderSelectionButton *folder, EMAccountEditor *emae);
-static ServerData * emae_check_servers (const gchar *email);
static gpointer parent_class;
@@ -1122,7 +1121,6 @@ emae_init (EMAccountEditor *emae)
emae, EM_TYPE_ACCOUNT_EDITOR, EMAccountEditorPrivate);
emae->priv->selected_server = NULL;
- emae->emae_check_servers = emae_check_servers;
emae->priv->source.emae = emae;
emae->priv->transport.emae = emae;
emae->priv->widgets = g_hash_table_new (g_str_hash, g_str_equal);
@@ -4416,7 +4414,7 @@ emae_check_complete (EConfig *ec,
user[at - tmp] = 0;
at++;
- sdata = emae->priv->selected_server = emae->emae_check_servers (tmp);
+ sdata = emae->priv->selected_server = emae_check_servers (tmp);
if (new_account && (url = emae_account_url (emae, E_ACCOUNT_SOURCE_URL))) {
const gchar *use_user = user;
gchar *uri;
diff --git a/mail/em-account-editor.h b/mail/em-account-editor.h
index 3416b5d..3b30112 100644
--- a/mail/em-account-editor.h
+++ b/mail/em-account-editor.h
@@ -88,7 +88,6 @@ struct _EMAccountEditor {
GtkWidget **pages; /* Pages for Anjal's page type editor */
guint do_signature:1; /* allow editing signature */
- ServerData * (*emae_check_servers) (const gchar *email);
};
struct _EMAccountEditorClass {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]