aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:05:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:05:38 +0800
commitdcf2c0e754d6e251733cea74c2427738122620af (patch)
tree358d2c639c2a5b5cf5fc8f28c515076f8b4d4e5d /addressbook/gui/contact-editor/e-contact-editor.c
parent76fc1247ba88575c0f6e0040672e19e66f53da4f (diff)
downloadgsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.gz
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.bz2
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.lz
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.xz
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.zst
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.zip
More whitespace cleanup.
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 205f30b26b..abcfe8cb19 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -345,7 +345,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
@@ -399,7 +399,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)
@@ -2296,7 +2296,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;
@@ -2713,7 +2713,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;
@@ -3545,7 +3545,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;