diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-06-02 08:41:08 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-06-02 08:41:08 -0400 |
commit | 1617344222de07d618784c638999e1ff60e1546e (patch) | |
tree | 116b05db3fc1f11b7b3837a7b5196b439a21525f /tests | |
parent | eeb52995739773a7ef979c54299e7c93595e8fb0 (diff) | |
download | gtk+-1617344222de07d618784c638999e1ff60e1546e.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index 2e6304a9e4..343b4bc52b 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -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)); |