diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-reflow.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 4d1d6a5507..416470e660 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2006-02-28 Devashish Sharma <sdevashish@novell.com> + + * e-reflow.c :(do_adjustment): Check and see if reflow->items + and reflow->items[row] are NULL or not. + Fixes Bug # 331998. + Patch submitted by Irene Huang <Irene.Huang@sun.com> + 2006-02-24 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #322789 diff --git a/widgets/misc/e-reflow.c b/widgets/misc/e-reflow.c index 023270cfd4..128f45ba12 100644 --- a/widgets/misc/e-reflow.c +++ b/widgets/misc/e-reflow.c @@ -177,6 +177,8 @@ do_adjustment (gpointer user_data) 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; |