forked from AuroraMiddleware/gtk
Add sibling information to widget path string representations
This commit is contained in:
parent
0725e417c5
commit
e81426dbd6
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user