diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-15 06:04:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-15 06:04:21 +0800 |
commit | 9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch) | |
tree | 2e1e96f33404781354c422a7e9beaf458ebeb655 /addressbook/printing | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip |
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
Diffstat (limited to 'addressbook/printing')
-rw-r--r-- | addressbook/printing/e-contact-print-style-editor.c | 4 | ||||
-rw-r--r-- | addressbook/printing/e-contact-print-style-editor.h | 2 | ||||
-rw-r--r-- | addressbook/printing/e-contact-print-types.h | 2 | ||||
-rw-r--r-- | addressbook/printing/e-contact-print.c | 18 | ||||
-rw-r--r-- | addressbook/printing/e-contact-print.h | 2 | ||||
-rw-r--r-- | addressbook/printing/test-contact-print-style-editor.c | 10 | ||||
-rw-r--r-- | addressbook/printing/test-print.c | 10 |
7 files changed, 24 insertions, 24 deletions
diff --git a/addressbook/printing/e-contact-print-style-editor.c b/addressbook/printing/e-contact-print-style-editor.c index 0e4c3246b0..7ae6111e06 100644 --- a/addressbook/printing/e-contact-print-style-editor.c +++ b/addressbook/printing/e-contact-print-style-editor.c @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * e-contact-print-style-editor.c * Copyright (C) 2000 Ximian, Inc. * Author: Chris Lahey <clahey@ximian.com> @@ -70,7 +70,7 @@ e_contact_print_style_editor_class_init (EContactPrintStyleEditorClass *klass) object_class = (GtkObjectClass*) klass; parent_class = gtk_type_class (gtk_vbox_get_type ()); - + object_class->set_arg = e_contact_print_style_editor_set_arg; object_class->get_arg = e_contact_print_style_editor_get_arg; object_class->destroy = e_contact_print_style_editor_destroy; diff --git a/addressbook/printing/e-contact-print-style-editor.h b/addressbook/printing/e-contact-print-style-editor.h index 1925a4a95a..0041c518da 100644 --- a/addressbook/printing/e-contact-print-style-editor.h +++ b/addressbook/printing/e-contact-print-style-editor.h @@ -51,7 +51,7 @@ typedef struct _EContactPrintStyleEditorClass EContactPrintStyleEditorClass; struct _EContactPrintStyleEditor { GtkVBox parent; - + /* item specific fields */ GladeXML *gui; }; diff --git a/addressbook/printing/e-contact-print-types.h b/addressbook/printing/e-contact-print-types.h index 44448d6796..fe554fff4a 100644 --- a/addressbook/printing/e-contact-print-types.h +++ b/addressbook/printing/e-contact-print-types.h @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * e-contact-print-types.h * Copyright (C) 2000 Ximian, Inc. * Author: Chris Lahey <clahey@ximian.com> diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index b8b1aee6f2..d2ca1a6e64 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * e-contact-print.c * Copyright (C) 2000 Ximian, Inc. * Author: Chris Lahey <clahey@ximian.com> @@ -225,10 +225,10 @@ e_contact_print_contact (EContact *contact, EContactPrintContext *ctxt) cr = gtk_print_context_get_cairo_context (ctxt->context); cairo_save(cr); - ctxt->y += get_font_height (ctxt->style->headings_font) * .2; + ctxt->y += get_font_height (ctxt->style->headings_font) * .2; file_as = e_contact_get (contact, E_CONTACT_FILE_AS); - + if (ctxt->style->print_using_grey) { cairo_save (cr); cairo_set_source_rgb (cr, .85, .85, .85); @@ -249,7 +249,7 @@ e_contact_print_contact (EContact *contact, EContactPrintContext *ctxt) ctxt->y += get_font_height (ctxt->style->headings_font) * .2; - for (field = E_CONTACT_FILE_AS; field != E_CONTACT_LAST_SIMPLE_STRING; field++) + for (field = E_CONTACT_FILE_AS; field != E_CONTACT_LAST_SIMPLE_STRING; field++) { const gchar *value; gchar *text; @@ -262,7 +262,7 @@ e_contact_print_contact (EContact *contact, EContactPrintContext *ctxt) e_contact_pretty_name (field), value); e_contact_output ( - ctxt->context, ctxt->style->body_font, + ctxt->context, ctxt->style->body_font, ctxt->x, ctxt->y, -1, text); ctxt->y += e_contact_text_height ( @@ -328,7 +328,7 @@ contacts_added (EBookView *book_view, const GList *contact_list, } } -static void +static void sequence_complete (EBookView *book_view, const GList *contact_list, EFlag *book_view_started) { @@ -627,9 +627,9 @@ contact_draw (EContact *contact, EContactPrintContext *ctxt) if (ctxt->style->letter_headings) e_contact_print_letter_heading (ctxt, ctxt->section); ctxt->first_section = FALSE; - } + } - else if (!ctxt->first_contact && (ctxt->y > page_height)) { + else if (!ctxt->first_contact && (ctxt->y > page_height)) { e_contact_start_new_column (ctxt); if (ctxt->style->letter_headings) e_contact_print_letter_heading (ctxt, ctxt->section); @@ -648,7 +648,7 @@ contact_draw_page (GtkPrintOperation *operation, { g_list_foreach (ctxt->contact_list, (GFunc) contact_draw, ctxt); } - + static void contact_end_print (GtkPrintOperation *operation, GtkPrintContext *context, diff --git a/addressbook/printing/e-contact-print.h b/addressbook/printing/e-contact-print.h index 16fe8b8dcb..fbafb136aa 100644 --- a/addressbook/printing/e-contact-print.h +++ b/addressbook/printing/e-contact-print.h @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * e-contact-print.h * Copyright (C) 2000 Ximian, Inc. * Author: Chris Lahey <clahey@ximian.com> diff --git a/addressbook/printing/test-contact-print-style-editor.c b/addressbook/printing/test-contact-print-style-editor.c index f5d20eea77..b10d1433d0 100644 --- a/addressbook/printing/test-contact-print-style-editor.c +++ b/addressbook/printing/test-contact-print-style-editor.c @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * test-contact-print-style-editor.c * Copyright (C) 2000 Ximian, Inc. * Author: Chris Lahey <clahey@ximian.com> @@ -42,7 +42,7 @@ static void destroy_callback(GtkWidget *app, gpointer data) #if 0 static void about_callback( GtkWidget *widget, gpointer data ) { - + const gchar *authors[] = { "Christopher James Lahey <clahey@umich.edu>", @@ -55,7 +55,7 @@ static void about_callback( GtkWidget *widget, gpointer data ) authors, _( "This should test the contact print style editor widget" ), NULL); - gtk_widget_show (about); + gtk_widget_show (about); } #endif @@ -76,7 +76,7 @@ int main( int argc, char *argv[] ) app = gnome_app_new("Contact Print Style Editor Test", NULL); editor = e_contact_print_style_editor_new(""); - + gnome_app_set_contents( GNOME_APP( app ), editor ); /* Connect the signals */ @@ -86,7 +86,7 @@ int main( int argc, char *argv[] ) gtk_widget_show_all( app ); - bonobo_main(); + bonobo_main(); /* Not reached. */ return 0; diff --git a/addressbook/printing/test-print.c b/addressbook/printing/test-print.c index d86c33baea..7fc367d24d 100644 --- a/addressbook/printing/test-print.c +++ b/addressbook/printing/test-print.c @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * test-print.c * Copyright (C) 2000 Ximian, Inc. * Author: Chris Lahey <clahey@ximian.com> @@ -32,7 +32,7 @@ #if 0 static void about_callback( GtkWidget *widget, gpointer data ) { - + const gchar *authors[] = { "Christopher James Lahey <clahey@umich.edu>", @@ -45,7 +45,7 @@ static void about_callback( GtkWidget *widget, gpointer data ) authors, _( "This should test the contact print code" ), NULL); - gtk_widget_show (about); + gtk_widget_show (about); } #endif @@ -62,7 +62,7 @@ int main( int argc, char *argv[] ) NULL); glade_init (); - + shown_fields = g_list_append(shown_fields, "First field"); shown_fields = g_list_append(shown_fields, "Second field"); shown_fields = g_list_append(shown_fields, "Third field"); @@ -71,7 +71,7 @@ int main( int argc, char *argv[] ) /* does nothing */ e_contact_print (NULL, NULL, NULL, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG); - bonobo_main(); + bonobo_main(); /* Not reached. */ return 0; |