From 7cb1030d3214b6fde68d5e3fc828f987c210e7ad Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 19 Feb 1998 18:14:11 +0000 Subject: [PATCH] Minor cleanups. --- gdk/gdktypes.h | 2 +- gdk/gdkvisual.c | 2 ++ gdk/x11/gdkvisual-x11.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h index 9d727aa10b..e864dd5966 100644 --- a/gdk/gdktypes.h +++ b/gdk/gdktypes.h @@ -349,7 +349,7 @@ typedef enum GDK_CLIENT_EVENT = 27, GDK_VISIBILITY_NOTIFY = 28, GDK_NO_EXPOSE = 29, - GDK_OTHER_EVENT = 9999 + GDK_OTHER_EVENT = 9999 /* Deprecated, use filters instead */ } GdkEventType; /* Event masks. (Used to select what types of events a window diff --git a/gdk/gdkvisual.c b/gdk/gdkvisual.c index b9f34a4843..c6365de9cd 100644 --- a/gdk/gdkvisual.c +++ b/gdk/gdkvisual.c @@ -201,11 +201,13 @@ gdk_visual_init () break; } +#ifdef G_ENABLE_DEBUG 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], visuals[i].visual.depth); +#endif /* G_ENABLE_DEBUG */ navailable_depths = 0; for (i = 0; i < npossible_depths; i++) diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c index b9f34a4843..c6365de9cd 100644 --- a/gdk/x11/gdkvisual-x11.c +++ b/gdk/x11/gdkvisual-x11.c @@ -201,11 +201,13 @@ gdk_visual_init () break; } +#ifdef G_ENABLE_DEBUG 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], visuals[i].visual.depth); +#endif /* G_ENABLE_DEBUG */ navailable_depths = 0; for (i = 0; i < npossible_depths; i++)