Fix: GTK002 Problem: GTK interfaces attempts to allocate writeable colours. This causes problems on many displays where colours are in short supply. In any event, the interface never needs to change the colours and so read-only (shareable) colours are just as acceptable. Compatible with: GTK+ NetHack v 1.1.5 Slash'EM 0.0.6E0F2 Author: J. Ali Harlow, ali@avrc.city.ac.uk Date: 3 Mar 2000 *** ../gtk-1.1.5/win/gtk/gtk.c Mon Feb 14 17:57:05 2000 --- ./win/gtk/gtk.c Fri Mar 3 14:47:27 2000 *************** *** 813,819 **** if(0 && nh_color[i].pixel){ nh_color[i] = *(main_window->style->fg); } ! else if(gdk_colormap_alloc_color(cmap, &nh_color[i], TRUE, TRUE) == TRUE){ ; } else{ --- 675,681 ---- if(0 && nh_color[i].pixel){ nh_color[i] = *(main_window->style->fg); } ! else if(gdk_colormap_alloc_color(cmap, &nh_color[i], FALSE, TRUE) == TRUE){ ; } else{