[gtk+] tests: Add prop editors to testtreeview
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: Add prop editors to testtreeview
- Date: Thu, 24 Nov 2011 17:31:52 +0000 (UTC)
commit a63b6cc7f1548df6bb39556430b9af7960a7fd62
Author: Benjamin Otte <otte redhat com>
Date: Thu Nov 24 18:07:23 2011 +0100
tests: Add prop editors to testtreeview
It tests treeviews, so we'd better be able to edit them :)
tests/testtreeview.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/testtreeview.c b/tests/testtreeview.c
index cbbe9ab..d9d80ce 100644
--- a/tests/testtreeview.c
+++ b/tests/testtreeview.c
@@ -792,6 +792,9 @@ main (int argc,
gtk_container_add (GTK_CONTAINER (sw), tv);
+ create_prop_editor (G_OBJECT (tv), GTK_TYPE_TREE_VIEW);
+ create_prop_editor (G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (tv))), GTK_TYPE_TREE_SELECTION);
+
gtk_widget_show_all (window);
gtk_main ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]