+2001-08-17 [christoph]
+
+ * src/mainwindow.c
+ claws uses 4 colors for target folder coloring.
+ arrays were not long enough and destroyed the
+ stack causing a segfault.
+ target folder colorizing does not work anymore
+ for me
+
2001-08-16 [paul]
* configure.in
SummaryView *summaryview;
MessageView *messageview;
GdkColormap *colormap;
- GdkColor color[3];
- gboolean success[3];
+ GdkColor color[4];
+ gboolean success[4];
guint n_menu_entries;
GtkItemFactory *ifactory;
GtkWidget *ac_menu;
color[3] = folderview->color_op;
colormap = gdk_window_get_colormap(window->window);
- gdk_colormap_alloc_colors(colormap, color, 3, FALSE, TRUE, success);
- for (i = 0; i < 3; i++) {
+ gdk_colormap_alloc_colors(colormap, color, 4, FALSE, TRUE, success);
+ for (i = 0; i < 4; i++) {
if (success[i] == FALSE)
g_warning(_("MainWindow: color allocation %d failed\n"), i);
}