diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:07:42 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:07:42 +0800 |
commit | fa360fde289f9b850191f89059d1a5e6d67c07c7 (patch) | |
tree | d1d8a43364d21daf94d5b9ac1f352faffd03dcd2 /addressbook/gui/contact-editor | |
parent | becd78e26ed61ff386d0b229f85bdcf590c28e94 (diff) | |
download | gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.gz gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.bz2 gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.lz gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.xz gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.zst gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.zip |
More whitespace cleanup.
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor-fullname.c | 2 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-fullname.c b/addressbook/gui/contact-editor/e-contact-editor-fullname.c index 5040b96570..2ffe6fcc4a 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-fullname.c +++ b/addressbook/gui/contact-editor/e-contact-editor-fullname.c @@ -176,7 +176,7 @@ e_contact_editor_fullname_set_property (GObject *object, guint prop_id, e_contact_editor_fullname = E_CONTACT_EDITOR_FULLNAME (object); - switch (prop_id){ + switch (prop_id) { case PROP_NAME: e_contact_name_free(e_contact_editor_fullname->name); diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 1d1d16c55b..00a89e32db 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -396,7 +396,7 @@ style_makes_sense (const EContactName *name, const gchar *company, gint style) case 1: return TRUE; case 2: - if(name) { + if (name) { if (name->additional && *name->additional) return TRUE; else @@ -450,7 +450,7 @@ name_to_style (const EContactName *name, const gchar *company, gint style) break; case 2: midstrptr=midstring; - if(name){ + if (name) { if (name->family && *name->family) *(midstrptr++) = name->family; if (name->given && *name->given) @@ -2347,7 +2347,7 @@ extract_simple_field (EContactEditor *editor, GtkWidget *widget, gint field_id) prompt_response = e_error_run (GTK_WINDOW (editor->app), "addressbook:prompt-resize", NULL); - if (prompt_response == GTK_RESPONSE_YES){ + if (prompt_response == GTK_RESPONSE_YES) { if ( width > height) { height = height * 96 / width; width = 96; @@ -2764,7 +2764,7 @@ categories_clicked (GtkWidget *button, EContactEditor *editor) else if (editor->contact) categories = e_contact_get (editor->contact, E_CONTACT_CATEGORIES); - if (editor->categories_dialog != NULL){ + if (editor->categories_dialog != NULL) { gtk_window_present (GTK_WINDOW(editor->categories_dialog)); g_free (categories); return; @@ -3594,7 +3594,7 @@ e_contact_editor_set_property (GObject *object, guint prop_id, const GValue *val editor = E_CONTACT_EDITOR (object); - switch (prop_id){ + switch (prop_id) { case PROP_SOURCE_BOOK: { gboolean writable; gboolean changed = FALSE; |