aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/printing')
-rw-r--r--addressbook/printing/e-contact-print.c9
-rw-r--r--addressbook/printing/e-contact-print.h2
2 files changed, 5 insertions, 6 deletions
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index a877d7f06a..ea833b8051 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -863,7 +863,7 @@ e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data)
GnomePrintContext *pc;
gboolean uses_book = FALSE, uses_list = FALSE, uses_range = FALSE;
- uses_range = GPOINTER_TO_INT (g_object_get_data(G_OBJECT (dialog), "uses_range"));
+ uses_range = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (dialog), "uses_range"));
if (uses_range) {
if (gnome_print_dialog_get_range (GNOME_PRINT_DIALOG (dialog)) & GNOME_PRINT_RANGE_ALL)
uses_book = TRUE;
@@ -1050,9 +1050,8 @@ e_contact_print_preview(EBook *book, char *query, GList *list)
pc = gnome_print_job_get_context (master);
e_contact_build_style (style);
- if (list == NULL) {
+ if (list == NULL)
uses_book = TRUE;
- }
else {
uses_list = TRUE;
copied_list = g_list_copy (list);
@@ -1090,9 +1089,9 @@ e_contact_print_preview(EBook *book, char *query, GList *list)
g_object_ref (book);
e_contact_do_print (book, ctxt->query, ctxt);
}
- else if(uses_list) {
+ else if (uses_list) {
ctxt->contacts = g_list_copy (copied_list);
- g_list_foreach (ctxt->contacts, (GFunc)g_object_ref, NULL);
+ g_list_foreach (ctxt->contacts, (GFunc) g_object_ref, NULL);
complete_sequence (NULL, E_BOOK_VIEW_STATUS_OK, ctxt);
}
}
diff --git a/addressbook/printing/e-contact-print.h b/addressbook/printing/e-contact-print.h
index 68c14aef9a..d3ca95d699 100644
--- a/addressbook/printing/e-contact-print.h
+++ b/addressbook/printing/e-contact-print.h
@@ -31,6 +31,6 @@
GtkWidget *e_contact_print_dialog_new (EBook *book, char *query, GList *list);
void e_contact_print_preview (EBook *book, char *query, GList *list);
GtkWidget *e_contact_print_contact_dialog_new (EContact *card);
-GtkWidget *e_contact_print_contact_list_dialog_new(GList *list);
+GtkWidget *e_contact_print_contact_list_dialog_new (GList *list);
#endif /* E_CONTACT_PRINT_H */