# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1017654668 0 # Node ID a2b13e127d25f4436a1251c4891d6f74f692fca8 # Parent f5c651a36085a899eff4c97d2796d3976554b36b Make dw_color_depth() return the correct value on Unix. diff -r f5c651a36085 -r a2b13e127d25 gtk/dw.c --- a/gtk/dw.c Mon Apr 01 09:36:47 2002 +0000 +++ b/gtk/dw.c Mon Apr 01 09:51:08 2002 +0000 @@ -4652,7 +4652,7 @@ int _locked_by_me = FALSE; DW_MUTEX_UNLOCK; - retval = gdk_colormap_get_system_size(); + retval = gdk_visual_get_best_depth(); DW_MUTEX_UNLOCK; return retval; }