[gtk+] Small doc improvement



commit 719e2157f24db629cd4fc1804fc5462db404a70e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Sep 6 22:13:46 2014 -0400

    Small doc improvement

 gdk/gdkvisual.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkvisual.c b/gdk/gdkvisual.c
index 09ea93c..64d1ce0 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]