X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fmainwindow.c;h=0d9c9663df5715628f75ee3481e6faff29425c0c;hp=4740b27073c8d95532b32fae146572b8d393dfc6;hb=7b794d551e5a1bc08333dfda388f866f20aac052;hpb=daffaa2a3c1da2efe3b0946fb57c134833338e09 diff --git a/src/mainwindow.c b/src/mainwindow.c index 4740b2707..0d9c9663d 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -594,8 +594,8 @@ MainWindow *main_window_create(SeparateType type) 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; @@ -718,8 +718,8 @@ MainWindow *main_window_create(SeparateType type) 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); }