From 2ace397eb52df6627bbcd8caef40a7dab82618f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 25 May 2010 20:38:43 +0200 Subject: Remove deprecatedd code from GdkColor https://bugzilla.gnome.org/show_bug.cgi?id=619649 --- docs/faq/gtk-faq.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/faq') diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml index 0da5e48e65..fddc74e858 100644 --- a/docs/faq/gtk-faq.sgml +++ b/docs/faq/gtk-faq.sgml @@ -3124,7 +3124,7 @@ like this: * 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); -- cgit v1.2.1