aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
commitbd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch)
treeb693ad7ec135bd8031458611b5ec485abd866463 /addressbook
parent5f83c587b2da0b9578117796253b7726e98748cc (diff)
downloadgsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.bz2
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.lz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.xz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/contact-editor/eab-editor.c5
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c18
2 files changed, 15 insertions, 8 deletions
diff --git a/addressbook/gui/contact-editor/eab-editor.c b/addressbook/gui/contact-editor/eab-editor.c
index 554db9aa7b..d6946e8341 100644
--- a/addressbook/gui/contact-editor/eab-editor.c
+++ b/addressbook/gui/contact-editor/eab-editor.c
@@ -351,9 +351,8 @@ eab_editor_get_window (EABEditor *editor)
}
/* This function prompts for saving if editor conents are in changed state and
- save or discards or cancels(just returns with out doing anything) according to user input.
- Editor gets destoryed in case of save and discard case.
- */
+ save or discards or cancels(just returns with out doing anything) according
+ to user input. Editor gets destroyed in case of save and discard case. */
gboolean
eab_editor_prompt_to_save_changes (EABEditor *editor, GtkWindow *window)
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 4c5b2ba8f8..18495d59c9 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -101,7 +101,10 @@ struct _EContactListEditorPrivate {
GtkBuilder *builder;
GtkTreeModel *model;
ENameSelector *name_selector;
- ENameSelectorEntry *email_entry; /* it's kept here, because the builder has an old widget, which was changed with this one */
+
+ /* This is kept here because the builder has an old widget
+ * which was changed with this one. */
+ ENameSelectorEntry *email_entry;
/* Whether we are editing a new contact or an existing one. */
guint is_new_list : 1;
@@ -866,7 +869,7 @@ contact_list_editor_tree_view_key_press_event_cb (GtkWidget *widget,
return FALSE;
}
-/*********************** GtkBuilder Custom Widgets Functions ***********************/
+/******************** GtkBuilder Custom Widgets Functions ********************/
static gpointer
contact_editor_fudge_new (EBook *book,
@@ -938,7 +941,9 @@ setup_custom_widgets (EContactListEditor *editor)
name_selector_entry = e_name_selector_peek_section_entry (
name_selector, "Members");
- gtk_widget_set_name (GTK_WIDGET (name_selector_entry), gtk_widget_get_name (old));
+ gtk_widget_set_name (
+ GTK_WIDGET (name_selector_entry),
+ gtk_widget_get_name (old));
parent = gtk_widget_get_parent (old);
gtk_container_child_get (GTK_CONTAINER (parent), old,
@@ -955,9 +960,12 @@ setup_custom_widgets (EContactListEditor *editor)
/* only hide it... */
gtk_widget_hide (old);
- /* ... and place the new name selector to the exact place as is the old one in UI file */
+ /* ... and place the new name selector to the
+ * exact place as is the old one in UI file */
gtk_widget_show (GTK_WIDGET (name_selector_entry));
- gtk_table_attach (GTK_TABLE (parent), GTK_WIDGET (name_selector_entry), la, ra, ta, ba, xo, yo, xp, yp);
+ gtk_table_attach (
+ GTK_TABLE (parent), GTK_WIDGET (name_selector_entry),
+ la, ra, ta, ba, xo, yo, xp, yp);
priv->email_entry = name_selector_entry;
e_name_selector_entry_set_contact_editor_func (