summaryrefslogtreecommitdiff
path: root/gdk/gdkvisual.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-09-06 22:13:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-09-07 17:14:37 -0400
commit719e2157f24db629cd4fc1804fc5462db404a70e (patch)
tree5e8fad6df2947dd3ba9dfb4b983b9b6fafbeca9a /gdk/gdkvisual.c
parentdf6e6342916421d71369c3c8ed3166bc71a36038 (diff)
downloadgtk+-719e2157f24db629cd4fc1804fc5462db404a70e.tar.gz
Small doc improvement
Diffstat (limited to 'gdk/gdkvisual.c')
-rw-r--r--gdk/gdkvisual.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk/gdkvisual.c b/gdk/gdkvisual.c
index 09ea93c34b..64d1ce09e9 100644
--- a/gdk/gdkvisual.c
+++ b/gdk/gdkvisual.c
@@ -40,7 +40,9 @@
* may be in the top 8 bits of the pixel, or may be in the lower 4 bits.
*
* There are several standard visuals. The visual returned by
- * gdk_screen_get_system_visual() is the system’s default visual.
+ * gdk_screen_get_system_visual() is the system’s default visual, and
+ * the visual returned by gdk_screen_get_rgba_visual() should be used for
+ * creating windows with an alpha channel.
*
* A number of functions are provided for determining the “best” available
* visual. For the purposes of making this determination, higher bit depths