comparison gtk/dw.c @ 86:a2b13e127d25

Make dw_color_depth() return the correct value on Unix.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 01 Apr 2002 09:51:08 +0000
parents f5c651a36085
children 1eb72c0e8c79
comparison
equal deleted inserted replaced
85:f5c651a36085 86:a2b13e127d25
4650 { 4650 {
4651 int retval; 4651 int retval;
4652 int _locked_by_me = FALSE; 4652 int _locked_by_me = FALSE;
4653 4653
4654 DW_MUTEX_UNLOCK; 4654 DW_MUTEX_UNLOCK;
4655 retval = gdk_colormap_get_system_size(); 4655 retval = gdk_visual_get_best_depth();
4656 DW_MUTEX_UNLOCK; 4656 DW_MUTEX_UNLOCK;
4657 return retval; 4657 return retval;
4658 } 4658 }
4659 4659
4660 /* 4660 /*