mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
testgtk: Work around some property editor problem
The property editor fails to show anything for GtkSettings, unless we tell it to just show GTK_TYPE_SETTINGS. For now, do just that, then.
This commit is contained in:
parent
eeb5299573
commit
1617344222
@ -6006,7 +6006,7 @@ create_settings (GtkWidget *widget)
|
||||
|
||||
if (!window)
|
||||
{
|
||||
window = create_prop_editor (G_OBJECT (gtk_settings_get_default ()), 0);
|
||||
window = create_prop_editor (G_OBJECT (gtk_settings_get_default ()), GTK_TYPE_SETTINGS);
|
||||
gtk_window_set_screen (GTK_WINDOW (window),
|
||||
gtk_widget_get_screen (widget));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user