diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:05:05 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:05:38 +0800 |
commit | dcf2c0e754d6e251733cea74c2427738122620af (patch) | |
tree | 358d2c639c2a5b5cf5fc8f28c515076f8b4d4e5d /addressbook/gui/widgets/e-minicard.c | |
parent | 76fc1247ba88575c0f6e0040672e19e66f53da4f (diff) | |
download | gsoc2013-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/widgets/e-minicard.c')
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 41c6ac6809..c4568aac3b 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -303,7 +303,7 @@ e_minicard_set_property (GObject *object, guint prop_id, const GValue *value, G item = GNOME_CANVAS_ITEM (object); e_minicard = E_MINICARD (object); - switch (prop_id){ + switch (prop_id) { case PROP_WIDTH: if (e_minicard->width != g_value_get_double (value)) { e_minicard->width = g_value_get_double (value); @@ -578,7 +578,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) e_minicard = E_MINICARD (item); - switch( event->type ) { + switch ( event->type ) { case GDK_FOCUS_CHANGE: { GdkEventFocus *focus_event = (GdkEventFocus *) event; @@ -910,7 +910,7 @@ get_left_width (EMinicard *e_minicard, gboolean is_list) return 0; layout = gtk_widget_create_pango_layout (GTK_WIDGET (GNOME_CANVAS_ITEM (e_minicard)->canvas), ""); - for(field = E_CONTACT_FULL_NAME; field != E_CONTACT_LAST_SIMPLE_STRING; field++) { + for (field = E_CONTACT_FULL_NAME; field != E_CONTACT_LAST_SIMPLE_STRING; field++) { gint this_width; if (field == E_CONTACT_FAMILY_NAME || field == E_CONTACT_GIVEN_NAME) @@ -960,7 +960,7 @@ remodel( EMinicard *e_minicard ) list = e_minicard->fields; e_minicard->fields = NULL; - for(field = E_CONTACT_FULL_NAME; field != (E_CONTACT_LAST_SIMPLE_STRING -1) && count < 5; field++) { + for (field = E_CONTACT_FULL_NAME; field != (E_CONTACT_LAST_SIMPLE_STRING -1) && count < 5; field++) { EMinicardField *minicard_field = NULL; gboolean is_email=FALSE; @@ -1050,7 +1050,7 @@ e_minicard_reflow(GnomeCanvasItem *item, gint flags) "y2", text_height + 9.0, NULL); - for(list = e_minicard->fields; list; list = g_list_next(list)) { + for (list = e_minicard->fields; list; list = g_list_next(list)) { EMinicardField *field = E_MINICARD_FIELD(list->data); /* Why not use the item that is passed in? */ GnomeCanvasItem *item = field->label; |