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:
committed by
Matthias Clasen
parent
ca4f063f28
commit
eabb63be3b
@ -1,5 +1,9 @@
|
|||||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
|
||||||
unconditionally. (#152562, Federico Mena Quintero)
|
unconditionally. (#152562, Federico Mena Quintero)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
|
||||||
unconditionally. (#152562, Federico Mena Quintero)
|
unconditionally. (#152562, Federico Mena Quintero)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
|
||||||
unconditionally. (#152562, Federico Mena Quintero)
|
unconditionally. (#152562, Federico Mena Quintero)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
|
||||||
unconditionally. (#152562, Federico Mena Quintero)
|
unconditionally. (#152562, Federico Mena Quintero)
|
||||||
|
|
||||||
|
|||||||
@ -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>
|
2004-10-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/tmpl/gtkenums.sgml: Clarify documentation for selection
|
* gtk/tmpl/gtkenums.sgml: Clarify documentation for selection
|
||||||
|
|||||||
@ -142,18 +142,39 @@ additional environment variables.
|
|||||||
<term>misc</term>
|
<term>misc</term>
|
||||||
<listitem><para>Miscellaneous information</para></listitem>
|
<listitem><para>Miscellaneous information</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>plugsocket</term>
|
||||||
|
<listitem><para>Cross-process embedding</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>text</term>
|
<term>text</term>
|
||||||
<listitem><para>Information about text widget internals</para></listitem>
|
<listitem><para>Text widget internals</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>tree</term>
|
<term>tree</term>
|
||||||
<listitem><para>Information about tree widget internals</para></listitem>
|
<listitem><para>Tree widget internals</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>updates</term>
|
<term>updates</term>
|
||||||
<listitem><para>Visual feedback about window updates</para></listitem>
|
<listitem><para>Visual feedback about window updates</para></listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
The special value <literal>all</literal> can be used to turn on all debug options.
|
The special value <literal>all</literal> can be used to turn on all debug options.
|
||||||
</para>
|
</para>
|
||||||
|
|||||||
@ -39,7 +39,8 @@ typedef enum {
|
|||||||
GTK_DEBUG_UPDATES = 1 << 4,
|
GTK_DEBUG_UPDATES = 1 << 4,
|
||||||
GTK_DEBUG_KEYBINDINGS = 1 << 5,
|
GTK_DEBUG_KEYBINDINGS = 1 << 5,
|
||||||
GTK_DEBUG_MULTIHEAD = 1 << 6,
|
GTK_DEBUG_MULTIHEAD = 1 << 6,
|
||||||
GTK_DEBUG_MODULES = 1 << 7
|
GTK_DEBUG_MODULES = 1 << 7,
|
||||||
|
GTK_DEBUG_GEOMETRY = 1 << 8
|
||||||
} GtkDebugFlag;
|
} GtkDebugFlag;
|
||||||
|
|
||||||
#ifdef G_ENABLE_DEBUG
|
#ifdef G_ENABLE_DEBUG
|
||||||
|
|||||||
@ -157,7 +157,8 @@ static const GDebugKey gtk_debug_keys[] = {
|
|||||||
{"updates", GTK_DEBUG_UPDATES},
|
{"updates", GTK_DEBUG_UPDATES},
|
||||||
{"keybindings", GTK_DEBUG_KEYBINDINGS},
|
{"keybindings", GTK_DEBUG_KEYBINDINGS},
|
||||||
{"multihead", GTK_DEBUG_MULTIHEAD},
|
{"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);
|
static const guint gtk_ndebug_keys = sizeof (gtk_debug_keys) / sizeof (GDebugKey);
|
||||||
|
|||||||
Reference in New Issue
Block a user