diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-29 01:06:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-29 01:21:01 +0800 |
commit | 14f8eee012382f04090ea9277e9567d5f32e8bf0 (patch) | |
tree | d1c454675e816f8d948942c21c5d899a969b08a7 /addressbook/gui/contact-editor | |
parent | e66024d664a1d346d6246b4e8b7c682bafcf4dda (diff) | |
download | gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.gz gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.bz2 gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.lz gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.xz gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.zst gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.zip |
Whitespace cleanup.
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 18 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/eab-editor.h | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index fd00b1e733..7f3699f834 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -81,10 +81,10 @@ static void e_contact_editor_set_property (GObject *object, guint prop_id, const static void e_contact_editor_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void e_contact_editor_dispose (GObject *object); -static void e_contact_editor_raise (EABEditor *editor); -static void e_contact_editor_show (EABEditor *editor); +static void e_contact_editor_raise (EABEditor *editor); +static void e_contact_editor_show (EABEditor *editor); static void e_contact_editor_save_contact (EABEditor *editor, gboolean should_close); -static void e_contact_editor_close (EABEditor *editor); +static void e_contact_editor_close (EABEditor *editor); static gboolean e_contact_editor_is_valid (EABEditor *editor); static gboolean e_contact_editor_is_changed (EABEditor *editor); static GtkWindow* e_contact_editor_get_window (EABEditor *editor); @@ -453,20 +453,20 @@ name_to_style (const EContactName *name, const gchar *company, gint style) midstrptr=midstring; if(name){ if (name->family && *name->family) - *(midstrptr++) = name->family; + *(midstrptr++) = name->family; if (name->given && *name->given) - *(midstrptr++) = name->given; + *(midstrptr++) = name->given; } *midstrptr = NULL; stringptr = strings; *(stringptr++) = g_strjoinv(", ", midstring); - if (name) { + if (name) { if (name->additional && *name->additional) *(stringptr++) = name->additional; } *stringptr = NULL; - string = g_strjoinv(" ", strings); - break; + string = g_strjoinv(" ", strings); + break; case 3: string = g_strdup(company); break; @@ -3892,7 +3892,7 @@ e_contact_editor_create_source_combo_box (gchar *name, GtkWidget * e_contact_editor_create_source_combo_box (gchar *name, - gchar *string1, gchar *string2, + gchar *string1, gchar *string2, gint int1, gint int2) { GtkWidget *combo_box; diff --git a/addressbook/gui/contact-editor/eab-editor.h b/addressbook/gui/contact-editor/eab-editor.h index 9dcb5e19d0..1b3de4b28a 100644 --- a/addressbook/gui/contact-editor/eab-editor.h +++ b/addressbook/gui/contact-editor/eab-editor.h @@ -64,8 +64,8 @@ struct _EABEditorClass /* virtual functions */ void (* show) (EABEditor *editor); - void (* close) (EABEditor *editor); - void (* raise) (EABEditor *editor); + void (* close) (EABEditor *editor); + void (* raise) (EABEditor *editor); void (* save_contact) (EABEditor *editor, gboolean should_close); gboolean (* is_valid) (EABEditor *editor); gboolean (* is_changed) (EABEditor *editor); @@ -92,10 +92,10 @@ GtkWindow* eab_editor_get_window (EABEditor *editor); gboolean eab_editor_prompt_to_save_changes (EABEditor *editor, GtkWindow *window); /* these four generate EABEditor signals */ -void eab_editor_contact_added (EABEditor *editor, EBookStatus status, EContact *contact); -void eab_editor_contact_modified (EABEditor *editor, EBookStatus status, EContact *contact); -void eab_editor_contact_deleted (EABEditor *editor, EBookStatus status, EContact *contact); -void eab_editor_closed (EABEditor *editor); +void eab_editor_contact_added (EABEditor *editor, EBookStatus status, EContact *contact); +void eab_editor_contact_modified (EABEditor *editor, EBookStatus status, EContact *contact); +void eab_editor_contact_deleted (EABEditor *editor, EBookStatus status, EContact *contact); +void eab_editor_closed (EABEditor *editor); /* these maintain the global list of editors so we can prompt the user if there are unsaved changes when they exit. */ |