[gtk+] testgtk: Work around some property editor problem
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] testgtk: Work around some property editor problem
- Date: Sat, 2 Jun 2012 12:41:15 +0000 (UTC)
commit 1617344222de07d618784c638999e1ff60e1546e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 2 08:41:08 2012 -0400
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.
tests/testgtk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 2e6304a..343b4bc 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]