aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c18
-rw-r--r--addressbook/gui/contact-editor/eab-editor.h12
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. */