bgo#571374 - Add 30-bit visuals to the list of supported depths

Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
John Brown 2009-03-31 17:31:28 -06:00 committed by Federico Mena Quintero
parent 5ef4c2b9bd
commit 923b126f1c

View File

@ -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,