From 370046c7353fe36088d955bfe7393a5fdedcf564 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 15 Aug 2001 06:52:19 +0000 Subject: [PATCH] gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update debugging info, remove unused debug flags. (#58330) --- ChangeLog | 8 +++++++- ChangeLog.pre-2-0 | 8 +++++++- ChangeLog.pre-2-10 | 8 +++++++- ChangeLog.pre-2-2 | 8 +++++++- ChangeLog.pre-2-4 | 8 +++++++- ChangeLog.pre-2-6 | 8 +++++++- ChangeLog.pre-2-8 | 8 +++++++- docs/debugging.txt | 23 +++++++++++++---------- gdk/gdk.c | 1 - gdk/gdkinternals.h | 3 +-- gdk/x11/gdkmain-x11.c | 1 - gtk/gtkdebug.h | 9 ++++----- gtk/gtkmain.c | 1 - 13 files changed, 67 insertions(+), 27 deletions(-) diff --git a/ChangeLog b/ChangeLog index a4587d429e..6002d2c897 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,16 @@ +2001-08-13 Matthias Clasen + + * gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, + gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update + debugging info, remove unused debug flags. (#58330) + Mon Aug 13 13:17:32 2001 Jonathan Blandford * gtk/gtktreeselection.c (gtk_tree_selection_select_all): (gtk_tree_selection_select_all): Remove strict checking for rows. 2001-08-13 Matthias Clasen - + * gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): Don't remove the tooltip window when the tip text changes. (#15891) diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index a4587d429e..6002d2c897 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,10 +1,16 @@ +2001-08-13 Matthias Clasen + + * gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, + gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update + debugging info, remove unused debug flags. (#58330) + Mon Aug 13 13:17:32 2001 Jonathan Blandford * gtk/gtktreeselection.c (gtk_tree_selection_select_all): (gtk_tree_selection_select_all): Remove strict checking for rows. 2001-08-13 Matthias Clasen - + * gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): Don't remove the tooltip window when the tip text changes. (#15891) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a4587d429e..6002d2c897 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,10 +1,16 @@ +2001-08-13 Matthias Clasen + + * gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, + gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update + debugging info, remove unused debug flags. (#58330) + Mon Aug 13 13:17:32 2001 Jonathan Blandford * gtk/gtktreeselection.c (gtk_tree_selection_select_all): (gtk_tree_selection_select_all): Remove strict checking for rows. 2001-08-13 Matthias Clasen - + * gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): Don't remove the tooltip window when the tip text changes. (#15891) diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index a4587d429e..6002d2c897 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,10 +1,16 @@ +2001-08-13 Matthias Clasen + + * gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, + gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update + debugging info, remove unused debug flags. (#58330) + Mon Aug 13 13:17:32 2001 Jonathan Blandford * gtk/gtktreeselection.c (gtk_tree_selection_select_all): (gtk_tree_selection_select_all): Remove strict checking for rows. 2001-08-13 Matthias Clasen - + * gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): Don't remove the tooltip window when the tip text changes. (#15891) diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a4587d429e..6002d2c897 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,10 +1,16 @@ +2001-08-13 Matthias Clasen + + * gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, + gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update + debugging info, remove unused debug flags. (#58330) + Mon Aug 13 13:17:32 2001 Jonathan Blandford * gtk/gtktreeselection.c (gtk_tree_selection_select_all): (gtk_tree_selection_select_all): Remove strict checking for rows. 2001-08-13 Matthias Clasen - + * gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): Don't remove the tooltip window when the tip text changes. (#15891) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a4587d429e..6002d2c897 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,10 +1,16 @@ +2001-08-13 Matthias Clasen + + * gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, + gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update + debugging info, remove unused debug flags. (#58330) + Mon Aug 13 13:17:32 2001 Jonathan Blandford * gtk/gtktreeselection.c (gtk_tree_selection_select_all): (gtk_tree_selection_select_all): Remove strict checking for rows. 2001-08-13 Matthias Clasen - + * gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): Don't remove the tooltip window when the tip text changes. (#15891) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a4587d429e..6002d2c897 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,10 +1,16 @@ +2001-08-13 Matthias Clasen + + * gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, + gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update + debugging info, remove unused debug flags. (#58330) + Mon Aug 13 13:17:32 2001 Jonathan Blandford * gtk/gtktreeselection.c (gtk_tree_selection_select_all): (gtk_tree_selection_select_all): Remove strict checking for rows. 2001-08-13 Matthias Clasen - + * gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): Don't remove the tooltip window when the tip text changes. (#15891) diff --git a/docs/debugging.txt b/docs/debugging.txt index db46439ed8..9ac1191eb9 100644 --- a/docs/debugging.txt +++ b/docs/debugging.txt @@ -67,15 +67,9 @@ For instance: runs testgtk with the 'misc' and 'events' debugging options. - GTK_DEBUG - --------- +See glib/docs/debugging.txt for information about debugging signal emission +and the object system. - Application relevant options: - - 'objects' - Trace the creation and destruction of objects, print - out a summary at program termination - - Options only interesting to library maintainers: GDK_DEBUG --------- @@ -88,10 +82,19 @@ runs testgtk with the 'misc' and 'events' debugging options. 'misc' - Miscellaneous information 'dnd' - Information about drag-and-drop - 'color-context' - Information about the internal workings of - GdkColorContext 'xim' - Information about X Input Method support + GTK_DEBUG + --------- + + Options only interesting to library maintainers: + + 'misc' - Miscellaneous information + 'text' - Information about text widget internals + 'tree' - Information about tree widget internals + 'updates' - Visual feedback about window updates + + - Owen Taylor 98/02/19 \ No newline at end of file diff --git a/gdk/gdk.c b/gdk/gdk.c index 5ac0af1a81..a4e70d4452 100644 --- a/gdk/gdk.c +++ b/gdk/gdk.c @@ -73,7 +73,6 @@ static const GDebugKey gdk_debug_keys[] = { {"events", GDK_DEBUG_EVENTS}, {"misc", GDK_DEBUG_MISC}, {"dnd", GDK_DEBUG_DND}, - {"color-context", GDK_DEBUG_COLOR_CONTEXT}, {"xim", GDK_DEBUG_XIM} }; diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index e90758e066..086fcfcb9e 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -42,8 +42,7 @@ typedef enum { GDK_DEBUG_MISC = 1 << 0, GDK_DEBUG_EVENTS = 1 << 1, GDK_DEBUG_DND = 1 << 2, - GDK_DEBUG_COLOR_CONTEXT = 1 << 3, - GDK_DEBUG_XIM = 1 << 4 + GDK_DEBUG_XIM = 1 << 3 } GdkDebugFlag; extern gint gdk_debug_level; diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 53c75e4d81..677a0214ac 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -95,7 +95,6 @@ static const GDebugKey gdk_debug_keys[] = { {"events", GDK_DEBUG_EVENTS}, {"misc", GDK_DEBUG_MISC}, {"dnd", GDK_DEBUG_DND}, - {"color-context", GDK_DEBUG_COLOR_CONTEXT}, {"xim", GDK_DEBUG_XIM} }; diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h index 12903511d9..8c7ddd9423 100644 --- a/gtk/gtkdebug.h +++ b/gtk/gtkdebug.h @@ -33,11 +33,10 @@ extern "C" { typedef enum { GTK_DEBUG_MISC = 1 << 0, - GTK_DEBUG_DND = 1 << 1, - GTK_DEBUG_PLUGSOCKET = 1 << 2, - GTK_DEBUG_TEXT = 1 << 3, - GTK_DEBUG_TREE = 1 << 4, - GTK_DEBUG_UPDATES = 1 << 5 + GTK_DEBUG_PLUGSOCKET = 1 << 1, + GTK_DEBUG_TEXT = 1 << 2, + GTK_DEBUG_TREE = 1 << 3, + GTK_DEBUG_UPDATES = 1 << 4 } GtkDebugFlag; #ifdef G_ENABLE_DEBUG diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 6d44d315f8..7cbb69974d 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -144,7 +144,6 @@ guint gtk_debug_flags = 0; /* Global GTK debug flag */ #ifdef G_ENABLE_DEBUG static const GDebugKey gtk_debug_keys[] = { {"misc", GTK_DEBUG_MISC}, - {"dnd", GTK_DEBUG_DND}, {"plugsocket", GTK_DEBUG_PLUGSOCKET}, {"text", GTK_DEBUG_TEXT}, {"tree", GTK_DEBUG_TREE},