[evolution-patches] [addressbook] patch for bug #331998
- From: Irene Huang <Irene Huang Sun COM>
- To: "evolution-patches gnome org" <evolution-patches gnome org>
- Subject: [evolution-patches] [addressbook] patch for bug #331998
- Date: Tue, 21 Feb 2006 17:29:34 +0800
hi,
Please review the attach patch for bug #331998 - Pressing "Clear"
button continuously causes Evolution to crash.
(http://bugzilla.gnome.org/show_bug.cgi?id=331998)
Thanks
--Irene
Index: widgets/misc/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.399
diff -u -r1.399 ChangeLog
--- widgets/misc/ChangeLog 13 Feb 2006 16:45:27 -0000 1.399
+++ widgets/misc/ChangeLog 21 Feb 2006 09:25:29 -0000
@@ -1,3 +1,10 @@
+2006-02-21 Irene Huang <Irene Huang sun com>
+
+ Fixes bug #331998
+
+ * e-reflow.c: (do_adjustment): Check and see if reflow->items
+ and reflow->items[row] are NULL or not.
+
2006-02-13 Andre Klapper <a9016009 gmx de>
* e-charset-picker.c: adding thai support.
Index: widgets/misc/e-reflow.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-reflow.c,v
retrieving revision 1.63
diff -u -r1.63 e-reflow.c
--- widgets/misc/e-reflow.c 30 Jan 2006 12:28:04 -0000 1.63
+++ widgets/misc/e-reflow.c 21 Feb 2006 09:25:29 -0000
@@ -177,6 +177,8 @@
adj = gtk_layout_get_hadjustment (GTK_LAYOUT (GNOME_CANVAS_ITEM (reflow)->canvas));
value = adj->value;
+ if ((!reflow->items) || (!reflow->items[row]))
+ return TRUE;
min_value = reflow->items[row]->x2 - adj->page_size;
max_value = reflow->items[row]->x1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]