changeset 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
files gtk/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }