Add some more GdkDebugFlags, for more fine-grained debugging output
2002-02-13 Tor Lillqvist <tml@iki.fi> * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more fine-grained debugging output (mainly used in the Win32 backend). * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
This commit is contained in:
committed by
Tor Lillqvist
parent
803a1f6fbc
commit
d000d2bb6d
@ -1,3 +1,10 @@
|
||||
2002-02-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
|
||||
fine-grained debugging output (mainly used in the Win32 backend).
|
||||
|
||||
* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
|
||||
|
||||
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
|
||||
@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
|
||||
cursor, set the Windows cursor to none first.
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
|
||||
brush that was in the DC, like the win32-procution branch does. I
|
||||
brush that was in the DC, like the win32-production branch does. I
|
||||
guess this plugs a resource leak? With the HDC cache, the old
|
||||
brush might be something we created ourselves, and not a stock
|
||||
brush. And it doesn't do any harm to call DeleteObject on stock
|
||||
|
||||
@ -1,3 +1,10 @@
|
||||
2002-02-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
|
||||
fine-grained debugging output (mainly used in the Win32 backend).
|
||||
|
||||
* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
|
||||
|
||||
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
|
||||
@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
|
||||
cursor, set the Windows cursor to none first.
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
|
||||
brush that was in the DC, like the win32-procution branch does. I
|
||||
brush that was in the DC, like the win32-production branch does. I
|
||||
guess this plugs a resource leak? With the HDC cache, the old
|
||||
brush might be something we created ourselves, and not a stock
|
||||
brush. And it doesn't do any harm to call DeleteObject on stock
|
||||
|
||||
@ -1,3 +1,10 @@
|
||||
2002-02-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
|
||||
fine-grained debugging output (mainly used in the Win32 backend).
|
||||
|
||||
* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
|
||||
|
||||
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
|
||||
@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
|
||||
cursor, set the Windows cursor to none first.
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
|
||||
brush that was in the DC, like the win32-procution branch does. I
|
||||
brush that was in the DC, like the win32-production branch does. I
|
||||
guess this plugs a resource leak? With the HDC cache, the old
|
||||
brush might be something we created ourselves, and not a stock
|
||||
brush. And it doesn't do any harm to call DeleteObject on stock
|
||||
|
||||
@ -1,3 +1,10 @@
|
||||
2002-02-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
|
||||
fine-grained debugging output (mainly used in the Win32 backend).
|
||||
|
||||
* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
|
||||
|
||||
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
|
||||
@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
|
||||
cursor, set the Windows cursor to none first.
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
|
||||
brush that was in the DC, like the win32-procution branch does. I
|
||||
brush that was in the DC, like the win32-production branch does. I
|
||||
guess this plugs a resource leak? With the HDC cache, the old
|
||||
brush might be something we created ourselves, and not a stock
|
||||
brush. And it doesn't do any harm to call DeleteObject on stock
|
||||
|
||||
@ -1,3 +1,10 @@
|
||||
2002-02-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
|
||||
fine-grained debugging output (mainly used in the Win32 backend).
|
||||
|
||||
* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
|
||||
|
||||
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
|
||||
@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
|
||||
cursor, set the Windows cursor to none first.
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
|
||||
brush that was in the DC, like the win32-procution branch does. I
|
||||
brush that was in the DC, like the win32-production branch does. I
|
||||
guess this plugs a resource leak? With the HDC cache, the old
|
||||
brush might be something we created ourselves, and not a stock
|
||||
brush. And it doesn't do any harm to call DeleteObject on stock
|
||||
|
||||
@ -1,3 +1,10 @@
|
||||
2002-02-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
|
||||
fine-grained debugging output (mainly used in the Win32 backend).
|
||||
|
||||
* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
|
||||
|
||||
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
|
||||
@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
|
||||
cursor, set the Windows cursor to none first.
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
|
||||
brush that was in the DC, like the win32-procution branch does. I
|
||||
brush that was in the DC, like the win32-production branch does. I
|
||||
guess this plugs a resource leak? With the HDC cache, the old
|
||||
brush might be something we created ourselves, and not a stock
|
||||
brush. And it doesn't do any harm to call DeleteObject on stock
|
||||
|
||||
@ -1,3 +1,10 @@
|
||||
2002-02-13 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
|
||||
fine-grained debugging output (mainly used in the Win32 backend).
|
||||
|
||||
* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
|
||||
|
||||
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
|
||||
@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
|
||||
cursor, set the Windows cursor to none first.
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
|
||||
brush that was in the DC, like the win32-procution branch does. I
|
||||
brush that was in the DC, like the win32-production branch does. I
|
||||
guess this plugs a resource leak? With the HDC cache, the old
|
||||
brush might be something we created ourselves, and not a stock
|
||||
brush. And it doesn't do any harm to call DeleteObject on stock
|
||||
|
||||
@ -59,9 +59,16 @@ static const GDebugKey gdk_debug_keys[] = {
|
||||
{"dnd", GDK_DEBUG_DND},
|
||||
{"xim", GDK_DEBUG_XIM},
|
||||
{"nograbs", GDK_DEBUG_NOGRABS},
|
||||
{"colormap", GDK_DEBUG_COLORMAP},
|
||||
{"gdkrgb", GDK_DEBUG_GDKRGB},
|
||||
{"gc", GDK_DEBUG_GC},
|
||||
{"pixmap", GDK_DEBUG_PIXMAP},
|
||||
{"image", GDK_DEBUG_IMAGE},
|
||||
{"input", GDK_DEBUG_INPUT},
|
||||
{"cursor", GDK_DEBUG_CURSOR},
|
||||
};
|
||||
|
||||
static const int gdk_ndebug_keys = sizeof(gdk_debug_keys)/sizeof(GDebugKey);
|
||||
static const int gdk_ndebug_keys = G_N_ELEMENTS (gdk_debug_keys);
|
||||
|
||||
#endif /* G_ENABLE_DEBUG */
|
||||
|
||||
|
||||
@ -69,6 +69,13 @@ typedef enum {
|
||||
GDK_DEBUG_DND = 1 << 2,
|
||||
GDK_DEBUG_XIM = 1 << 3,
|
||||
GDK_DEBUG_NOGRABS = 1 << 4,
|
||||
GDK_DEBUG_COLORMAP = 1 << 5,
|
||||
GDK_DEBUG_GDKRGB = 1 << 6,
|
||||
GDK_DEBUG_GC = 1 << 7,
|
||||
GDK_DEBUG_PIXMAP = 1 << 8,
|
||||
GDK_DEBUG_IMAGE = 1 << 9,
|
||||
GDK_DEBUG_INPUT = 1 <<10,
|
||||
GDK_DEBUG_CURSOR = 1 <<11
|
||||
} GdkDebugFlag;
|
||||
|
||||
#ifndef GDK_DISABLE_DEPRECATED
|
||||
|
||||
Reference in New Issue
Block a user