mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
inspector: Show the default GApplication in the tree
This is a handy object to have quickly available.
This commit is contained in:
parent
83503cbf20
commit
8a6421ac30
@ -279,6 +279,8 @@ gtk_inspector_widget_tree_scan (GtkInspectorWidgetTree *wt,
|
||||
gtk_tree_store_clear (wt->priv->model);
|
||||
g_hash_table_remove_all (wt->priv->iters);
|
||||
gtk_inspector_widget_tree_append_object (wt, G_OBJECT (gtk_settings_get_default ()), NULL, NULL);
|
||||
if (g_application_get_default ())
|
||||
gtk_inspector_widget_tree_append_object (wt, G_OBJECT (g_application_get_default ()), NULL, NULL);
|
||||
gtk_inspector_widget_tree_append_object (wt, G_OBJECT (window), NULL, NULL);
|
||||
|
||||
gtk_tree_view_columns_autosize (GTK_TREE_VIEW (wt));
|
||||
|
Loading…
Reference in New Issue
Block a user