[gnome-devel-docs] Remove viewport from textview vala examples.
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Remove viewport from textview vala examples.
- Date: Wed, 1 Aug 2012 08:41:25 +0000 (UTC)
commit fe7595f290b01a1fcf86987fb688ac74718815d0
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Wed Aug 1 04:40:28 2012 -0400
Remove viewport from textview vala examples.
platform-demos/C/samples/filechooserdialog.vala | 2 +-
platform-demos/C/samples/textview.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/platform-demos/C/samples/filechooserdialog.vala b/platform-demos/C/samples/filechooserdialog.vala
index fe697d3..615d646 100644
--- a/platform-demos/C/samples/filechooserdialog.vala
+++ b/platform-demos/C/samples/filechooserdialog.vala
@@ -30,7 +30,7 @@ class MyWindow: Gtk.ApplicationWindow {
scrolled_window.set_policy (Gtk.PolicyType.AUTOMATIC,
Gtk.PolicyType.AUTOMATIC);
- scrolled_window.add_with_viewport (textview);
+ scrolled_window.add (textview);
scrolled_window.set_border_width (5);
this.add (scrolled_window);
diff --git a/platform-demos/C/samples/textview.vala b/platform-demos/C/samples/textview.vala
index fd835a7..e9bcde7 100644
--- a/platform-demos/C/samples/textview.vala
+++ b/platform-demos/C/samples/textview.vala
@@ -21,7 +21,7 @@ class MyWindow: Gtk.ApplicationWindow {
scrolled_window.set_policy (Gtk.PolicyType.AUTOMATIC,
Gtk.PolicyType.AUTOMATIC);
- scrolled_window.add_with_viewport (textview);
+ scrolled_window.add (textview);
scrolled_window.set_border_width (5);
this.add (scrolled_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]