$NetBSD: patch-aa,v 1.5 2010/07/06 15:19:46 drochner Exp $

--- eel/eel-wrap-table.c.orig	2009-12-15 10:22:12.000000000 +0000
+++ eel/eel-wrap-table.c
@@ -518,6 +518,10 @@ wrap_table_layout (EelWrapTable *wrap_ta
 	pos.x = content_bounds.x0;
 	pos.y = content_bounds.y0;
 
+	/* XXX hack: avoid crash if no icons are found */
+	if (!max_child_dimensions.width)
+		max_child_dimensions.width = 1;
+
 	num_cols = wrap_table_get_num_fitting (GTK_WIDGET (wrap_table)->allocation.width -
 					       GTK_CONTAINER (wrap_table)->border_width * 2,
 					       wrap_table->details->x_spacing,
