projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb5299
)
testgtk: Work around some property editor problem
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 2 Jun 2012 12:41:08 +0000
(08:41 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 2 Jun 2012 12:41:08 +0000
(08:41 -0400)
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.
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index 2e6304a9e4285e26f0365f09a5475ffef2bcac17..343b4bc52b2a266df459a6e33c8ca551da32656c 100644
(file)
--- 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));