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-13 11:33:07 +0800
commit0274669179600ac77475eed9870d2eab52c2cf14 (patch)
tree80f228649b670efac7f76ba5c0da5ed22a3a05c9 /addressbook/gui/contact-editor
parentadb63f0f2156554a21dbfd8daba447001985e967 (diff)
downloadgsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar
gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.gz
gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.bz2
gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.lz
gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.xz
gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.zst
gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.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.c9
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.h1
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c5
-rw-r--r--addressbook/gui/contact-editor/eab-editor.c1
-rw-r--r--addressbook/gui/contact-editor/eab-editor.h1
6 files changed, 0 insertions, 19 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 e2468ee6dd..205f30b26b 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -75,7 +75,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);
@@ -2675,7 +2674,6 @@ full_name_clicked (GtkWidget *button, EContactEditor *editor)
editor->fullname_dialog = GTK_WIDGET (dialog);
}
-
static void
categories_response (GtkDialog *dialog, gint response, EContactEditor *editor)
{
@@ -3005,7 +3003,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;
@@ -3082,7 +3079,6 @@ static const EContactField non_string_fields [] = {
E_CONTACT_BIRTH_DATE,
E_CONTACT_ANNIVERSARY
-
};
static gboolean
@@ -3097,7 +3093,6 @@ is_non_string_field (EContactField id)
}
-
/* insert checks here (date format, for instance, etc.) */
static gboolean
e_contact_editor_is_valid (EABEditor *editor)
@@ -3150,11 +3145,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",
@@ -3490,10 +3483,8 @@ required_fields_cb (EBook *book, EBookStatus status,
"required_fields", fields,
NULL);
-
}
-
static void
contact_editor_destroy_notify (gpointer data,
GObject *where_the_object_was)
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h
index c5940d96d0..cdd9c2e8da 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.h
+++ b/addressbook/gui/contact-editor/e-contact-editor.h
@@ -50,7 +50,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 17ef4fb16d..0f6552ba18 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.
*/
@@ -506,7 +505,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);
@@ -539,8 +537,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;
@@ -557,7 +553,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);
diff --git a/addressbook/gui/contact-editor/eab-editor.c b/addressbook/gui/contact-editor/eab-editor.c
index 6257e3972b..19c3d9c7e3 100644
--- a/addressbook/gui/contact-editor/eab-editor.c
+++ b/addressbook/gui/contact-editor/eab-editor.c
@@ -354,7 +354,6 @@ eab_editor_confirm_delete (GtkWindow *parent, gboolean plural, gboolean is_list,
return (result == GTK_RESPONSE_ACCEPT);
}
-
void
eab_editor_contact_added (EABEditor *editor, EBookStatus status, EContact *contact)
{
diff --git a/addressbook/gui/contact-editor/eab-editor.h b/addressbook/gui/contact-editor/eab-editor.h
index c658b1070b..6d70107643 100644
--- a/addressbook/gui/contact-editor/eab-editor.h
+++ b/addressbook/gui/contact-editor/eab-editor.h
@@ -50,7 +50,6 @@ G_BEGIN_DECLS
#define EAB_IS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EAB_TYPE_EDITOR))
#define EAB_EDITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EAB_EDITOR_TYPE, EABEditorClass))
-
typedef struct _EABEditor EABEditor;
typedef struct _EABEditorClass EABEditorClass;