Remove deprecatedd code from GdkColor

https://bugzilla.gnome.org/show_bug.cgi?id=619649
This commit is contained in:
Javier Jardón
2010-05-25 20:38:43 +02:00
parent a18f23c478
commit 2ace397eb5
11 changed files with 17 additions and 735 deletions

View File

@ -3124,7 +3124,7 @@ like this:</para>
* displays. Therefore, this call is required so that GDK and X can
* give us the closest color available in the colormap
*/
gdk_color_alloc(gtk_widget_get_colormap(widget), color);
gdk_colormap_alloc_color(gtk_widget_get_colormap(widget), color, FALSE, TRUE);
/* set the foreground to our color */
gdk_gc_set_foreground(gc, color);