aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-13 11:33:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-14 23:26:22 +0800
commit374bd42f69aca2e132fd854c9619f3d7491f1f96 (patch)
treebf50b5daa8664d4d793b82f6b6ec59d0686553e0 /addressbook/gui/contact-editor
parent573eb0880a80e04737cb4497931ca6588272686e (diff)
downloadgsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar
gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.gz
gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.bz2
gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.lz
gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.xz
gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.zst
gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.zip
Fix excessive whitespace.
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-fullname.h2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c8
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.h1
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c5
4 files changed, 0 insertions, 16 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-fullname.h b/addressbook/gui/contact-editor/e-contact-editor-fullname.h
index 6ccd89ed9e..7741b208fb 100644
--- a/addressbook/gui/contact-editor/e-contact-editor-fullname.h
+++ b/addressbook/gui/contact-editor/e-contact-editor-fullname.h
@@ -44,7 +44,6 @@ G_BEGIN_DECLS
#define E_IS_CONTACT_EDITOR_FULLNAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_CONTACT_EDITOR_FULLNAME))
#define E_IS_CONTACT_EDITOR_FULLNAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_CONTACT_EDITOR_FULLNAME))
-
typedef struct _EContactEditorFullname EContactEditorFullname;
typedef struct _EContactEditorFullnameClass EContactEditorFullnameClass;
@@ -65,7 +64,6 @@ struct _EContactEditorFullnameClass
GtkDialogClass parent_class;
};
-
GtkWidget *e_contact_editor_fullname_new(const EContactName *name);
GType e_contact_editor_fullname_get_type (void);
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index d4768ae675..1d1d16c55b 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -74,7 +74,6 @@ enum {
NUM_IM_COLUMNS
};
-
static void e_contact_editor_init (EContactEditor *editor);
static void e_contact_editor_class_init (EContactEditorClass *klass);
static void e_contact_editor_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec);
@@ -2726,7 +2725,6 @@ full_name_clicked (GtkWidget *button, EContactEditor *editor)
editor->fullname_dialog = GTK_WIDGET (dialog);
}
-
static void
categories_response (GtkDialog *dialog, gint response, EContactEditor *editor)
{
@@ -3056,7 +3054,6 @@ save_contact (EContactEditor *ce, gboolean should_close)
if (!ce->target_book)
return;
-
if (ce->target_editable && !e_book_is_writable (ce->source_book)) {
if (e_error_run (GTK_WINDOW (ce->app), "addressbook:prompt-move", NULL) == GTK_RESPONSE_NO)
return;
@@ -3133,7 +3130,6 @@ static const EContactField non_string_fields [] = {
E_CONTACT_BIRTH_DATE,
E_CONTACT_ANNIVERSARY
-
};
static gboolean
@@ -3148,7 +3144,6 @@ is_non_string_field (EContactField id)
}
-
/* insert checks here (date format, for instance, etc.) */
static gboolean
e_contact_editor_is_valid (EABEditor *editor)
@@ -3201,11 +3196,9 @@ e_contact_editor_is_valid (EABEditor *editor)
break;
}
-
}
}
-
if (validation_error) {
g_string_append (errmsg, ".");
e_error_run (GTK_WINDOW (ce->app), "addressbook:generic-error",
@@ -3546,7 +3539,6 @@ required_fields_cb (EBook *book, EBookStatus status,
"required_fields", fields,
NULL);
-
}
EABEditor *
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h
index 6228dc3499..9a83831eff 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.h
+++ b/addressbook/gui/contact-editor/e-contact-editor.h
@@ -49,7 +49,6 @@ G_BEGIN_DECLS
#define E_IS_CONTACT_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_CONTACT_EDITOR))
#define E_IS_CONTACT_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_CONTACT_EDITOR))
-
typedef struct _EContactEditor EContactEditor;
typedef struct _EContactEditorClass EContactEditorClass;
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index df3eb6ec58..bb40e9a79d 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -151,7 +151,6 @@ quick_add_merge_contact (QuickAdd *qa)
addressbook_load (qa->book, merge_cb, qa);
}
-
/*
* Raise a contact editor with all fields editable, and hook up all signals accordingly.
*/
@@ -511,7 +510,6 @@ e_contact_quick_add_free_form (const gchar *text, EContactQuickAddCallback cb, g
in_quote = !in_quote;
}
-
if (last_at == NULL) {
/* No at sign, so we treat it all as the name */
name = g_strdup (text);
@@ -544,8 +542,6 @@ e_contact_quick_add_free_form (const gchar *text, EContactQuickAddCallback cb, g
if (name == NULL && email == NULL)
name = g_strdup (text);
-
-
/* Clean up email, remove bracketing <>s */
if (email && *email) {
gboolean changed = FALSE;
@@ -562,7 +558,6 @@ e_contact_quick_add_free_form (const gchar *text, EContactQuickAddCallback cb, g
g_strstrip (email);
}
-
e_contact_quick_add (name, email, cb, closure);
g_free (name);
g_free (email);