Mercurial > dwindows
comparison gtk/dw.c @ 374:47dc310e6d74
gdk_gc_set_colormap() doesn't exist on GTK 1.x.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 27 Apr 2003 19:55:54 +0000 |
parents | d04b0699fc28 |
children | 84f79737b7d9 |
comparison
equal
deleted
inserted
replaced
373:d04b0699fc28 | 374:47dc310e6d74 |
---|---|
5267 gc = gdk_gc_new(window); | 5267 gc = gdk_gc_new(window); |
5268 if(gc) | 5268 if(gc) |
5269 { | 5269 { |
5270 gdk_gc_set_foreground(gc, &_foreground[index]); | 5270 gdk_gc_set_foreground(gc, &_foreground[index]); |
5271 gdk_gc_set_background(gc, &_background[index]); | 5271 gdk_gc_set_background(gc, &_background[index]); |
5272 gdk_gc_set_colormap(gc, _dw_cmap); | |
5273 } | 5272 } |
5274 return gc; | 5273 return gc; |
5275 } | 5274 } |
5276 | 5275 |
5277 /* Draw a point on a window (preferably a render window). | 5276 /* Draw a point on a window (preferably a render window). |