[gtk+] bgo#571374 - Add 30-bit visuals to the list of supported depths



commit 5a7956aae4987983a13067e5383434d305f3246a
Author: John Brown <john brown3 hp com>
Date:   Tue Mar 31 17:31:28 2009 -0600

    bgo#571374 - Add 30-bit visuals to the list of supported depths
    
    Signed-off-by: Federico Mena Quintero <federico novell com>
---
 gdk/x11/gdkvisual-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c
index e06c356..593e3ba 100644
--- a/gdk/x11/gdkvisual-x11.c
+++ b/gdk/x11/gdkvisual-x11.c
@@ -95,7 +95,7 @@ gdk_visual_get_type (void)
 void
 _gdk_visual_init (GdkScreen *screen)
 {
-  static const gint possible_depths[7] = { 32, 24, 16, 15, 8, 4, 1 };
+  static const gint possible_depths[8] = { 32, 30, 24, 16, 15, 8, 4, 1 };
   static const GdkVisualType possible_types[6] =
     {
       GDK_VISUAL_DIRECT_COLOR,



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