From 718ccc9e4ecfc9614fe1a50b1ff9d01938314a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Wed, 6 Oct 2010 01:09:23 +0200 Subject: [PATCH] docs: visuals: Do not mention deprecated GdkRGB API's Reported by Milan Bouchet-Valat in bug https://bugzilla.gnome.org/show_bug.cgi?id=631473 --- docs/reference/gdk/tmpl/visuals.sgml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/reference/gdk/tmpl/visuals.sgml b/docs/reference/gdk/tmpl/visuals.sgml index 79e9229584..cb20c0614d 100644 --- a/docs/reference/gdk/tmpl/visuals.sgml +++ b/docs/reference/gdk/tmpl/visuals.sgml @@ -18,12 +18,8 @@ of an RGB pixel may be in the top 8 bits of the pixel, or may be in the lower There are several standard visuals. The visual returned -by gdk_visual_get_system() is the system's default -visual. gdk_rgb_get_visual() return the visual most -suited to displaying full-color image data. If you -use the calls in #GdkRGB, you should create your windows -using this visual (and the colormap returned by -gdk_rgb_get_colormap()). +by gdk_screen_get_system_visual() is the system's default +visual. A number of functions are provided for determining