From 923b126f1c4404c1438978fb07ebd8f182a6a881 Mon Sep 17 00:00:00 2001 From: John Brown Date: Tue, 31 Mar 2009 17:31:28 -0600 Subject: [PATCH] bgo#571374 - Add 30-bit visuals to the list of supported depths Signed-off-by: Federico Mena Quintero --- gdk/x11/gdkvisual-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c index e06c3560a5..593e3bab81 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,