summaryrefslogtreecommitdiff
path: root/gdk/gdkvisual.c
diff options
context:
space:
mode:
authorOwen Taylor <owt1@cornell.edu>1998-02-19 06:21:27 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-02-19 06:21:27 +0000
commitfc7e845c8f4d3eb4481f803eae3f9c7f8d75a1d9 (patch)
tree888ffee4d7f12e1ed7aabf29fe67d80de3849268 /gdk/gdkvisual.c
parent3d4cc2f904cd5d0dd1acfa6938c5577264fab524 (diff)
downloadgdk-pixbuf-fc7e845c8f4d3eb4481f803eae3f9c7f8d75a1d9.tar.gz
configure.in gdk/gdk.[ch] gdk/gdkcc.c gdk/gdkglobals.c
Thu Feb 19 01:11:48 1998 Owen Taylor <owt1@cornell.edu> * configure.in gdk/gdk.[ch] gdk/gdkcc.c gdk/gdkglobals.c gdk/gdkinputcommon.h gdk/gdkprivate.h gdk/gdkvisual.c glib/configure.in glib/glib.h glib/gutils.c gtk/Makefile.am gtk/gtkmain.c gtk/gtkobject.[ch] gtk/gtkdebug.h docs/debugging.txt New system for controlling debugging: * --enable-debug=[no/yes/minimum] * G_DISABLE_ASSERT and G_DISABLE_CHECKS for glib * G_NO_CHECK_CASTS to control cast checking * G_ENABLE_DEBUG enables run time checking which controls: Object tracing Showing events Miscellaneous g_print's in GDK And is controlled by --gdk-debug/GDK_DEBUG, --gtk-debug/GTK_DEBUG * debug_level and show_events are gone from GTK See docs/debugging.txt for details. And some fixups to the configure.in's so '-g' can be overriden on the command line for --enable-debug
Diffstat (limited to 'gdk/gdkvisual.c')
-rw-r--r--gdk/gdkvisual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkvisual.c b/gdk/gdkvisual.c
index bb9388f20..b9f34a484 100644
--- a/gdk/gdkvisual.c
+++ b/gdk/gdkvisual.c
@@ -201,7 +201,7 @@ gdk_visual_init ()
break;
}
- if (gdk_debug_level >= 1)
+ if (gdk_debug_flags & GDK_DEBUG_MISC)
for (i = 0; i < nvisuals; i++)
g_print ("visual: %s: %d\n",
visual_names[visuals[i].visual.type],