diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c index d7b6d22405..2c9ec5fc4e 100644 --- a/gtk/inspector/window.c +++ b/gtk/inspector/window.c @@ -289,4 +289,12 @@ gtk_inspector_window_new (void) NULL)); } +void +gtk_inspector_window_rescan (GtkWidget *widget) +{ + GtkInspectorWindow *iw = GTK_INSPECTOR_WINDOW (widget); + + gtk_inspector_object_tree_scan (GTK_INSPECTOR_OBJECT_TREE (iw->object_tree), NULL); +} + // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/window.h b/gtk/inspector/window.h index 80de702088..c5cbce5aed 100644 --- a/gtk/inspector/window.h +++ b/gtk/inspector/window.h @@ -101,6 +101,7 @@ void gtk_inspector_on_inspect (GtkWidget *widget, void gtk_inspector_window_select_widget_under_pointer (GtkInspectorWindow *iw); +void gtk_inspector_window_rescan (GtkWidget *iw); G_END_DECLS