Add a new debug flag, geometry, to debug size allocation.

2004-10-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdebug.h:
	* gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug
	flag, geometry, to debug size allocation.
This commit is contained in:
Matthias Clasen
2004-10-08 15:26:02 +00:00
committed by Matthias Clasen
parent ca4f063f28
commit eabb63be3b
8 changed files with 47 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdebug.h:
* gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug
flag, geometry, to debug size allocation.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally. (#152562, Federico Mena Quintero)

View File

@ -1,5 +1,9 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdebug.h:
* gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug
flag, geometry, to debug size allocation.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally. (#152562, Federico Mena Quintero)

View File

@ -1,5 +1,9 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdebug.h:
* gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug
flag, geometry, to debug size allocation.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally. (#152562, Federico Mena Quintero)

View File

@ -1,5 +1,9 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdebug.h:
* gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug
flag, geometry, to debug size allocation.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally. (#152562, Federico Mena Quintero)

View File

@ -1,3 +1,7 @@
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/running.sgml: Update list of supported debug flags.
2004-10-06 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkenums.sgml: Clarify documentation for selection

View File

@ -142,18 +142,39 @@ additional environment variables.
<term>misc</term>
<listitem><para>Miscellaneous information</para></listitem>
</varlistentry>
<varlistentry>
<term>plugsocket</term>
<listitem><para>Cross-process embedding</para></listitem>
</varlistentry>
<varlistentry>
<term>text</term>
<listitem><para>Information about text widget internals</para></listitem>
<listitem><para>Text widget internals</para></listitem>
</varlistentry>
<varlistentry>
<term>tree</term>
<listitem><para>Information about tree widget internals</para></listitem>
<listitem><para>Tree widget internals</para></listitem>
</varlistentry>
<varlistentry>
<term>updates</term>
<listitem><para>Visual feedback about window updates</para></listitem>
</varlistentry>
<varlistentry>
<term>keybindings</term>
<listitem><para>Keybindings</para></listitem>
</varlistentry>
<varlistentry>
<term>multihead</term>
<listitem><para>Working on multiple displays</para></listitem>
</varlistentry>
<varlistentry>
<term>modules</term>
<listitem><para>Loading of modules</para></listitem>
</varlistentry>
<varlistentry>
<term>geometry</term>
<listitem><para>Size allocation</para></listitem>
</varlistentry>
</variablelist>
The special value <literal>all</literal> can be used to turn on all debug options.
</para>

View File

@ -39,7 +39,8 @@ typedef enum {
GTK_DEBUG_UPDATES = 1 << 4,
GTK_DEBUG_KEYBINDINGS = 1 << 5,
GTK_DEBUG_MULTIHEAD = 1 << 6,
GTK_DEBUG_MODULES = 1 << 7
GTK_DEBUG_MODULES = 1 << 7,
GTK_DEBUG_GEOMETRY = 1 << 8
} GtkDebugFlag;
#ifdef G_ENABLE_DEBUG

View File

@ -157,7 +157,8 @@ static const GDebugKey gtk_debug_keys[] = {
{"updates", GTK_DEBUG_UPDATES},
{"keybindings", GTK_DEBUG_KEYBINDINGS},
{"multihead", GTK_DEBUG_MULTIHEAD},
{"modules", GTK_DEBUG_MODULES}
{"modules", GTK_DEBUG_MODULES},
{"geometry", GTK_DEBUG_GEOMETRY}
};
static const guint gtk_ndebug_keys = sizeof (gtk_debug_keys) / sizeof (GDebugKey);