Add sibling information to widget path string representations

This commit is contained in:
Matthias Clasen 2011-06-18 12:36:38 -04:00
parent 0725e417c5
commit e81426dbd6

View File

@ -328,6 +328,12 @@ gtk_widget_path_to_string (const GtkWidgetPath *path)
g_string_append_c (string, ')');
}
if (elem->siblings)
g_string_append_printf (string, "[%d/%d]",
elem->sibling_index,
gtk_widget_path_length (elem->siblings));
if (elem->classes)
{
for (j = 0; j < elem->classes->len; j++)