[evolution/webkit] Fix crash when reordering headers in printing dialog



commit 9cb3d3352a6f874ac15827377c1e094de5b60a9a
Author: Dan VrÃtil <dvratil redhat com>
Date:   Wed Mar 28 17:39:17 2012 +0200

    Fix crash when reordering headers in printing dialog

 mail/e-mail-printer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-printer.c b/mail/e-mail-printer.c
index 62201f1..f0fb841 100644
--- a/mail/e-mail-printer.c
+++ b/mail/e-mail-printer.c
@@ -385,6 +385,7 @@ emp_headers_tab_move (GtkWidget *button,
 	l = g_list_nth (selected_rows, g_list_length (selected_rows) / 2);
 	selection_middle = gtk_tree_row_reference_new (model, l->data);
 
+	references = NULL;
 	for (l = selected_rows; l; l = l->next) {
 		references = g_list_prepend (references,
 			gtk_tree_row_reference_new (model, l->data));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]