[latexila/gnome-3] Scrolled windows: set_policy() is now useless
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila/gnome-3] Scrolled windows: set_policy() is now useless
- Date: Mon, 12 Mar 2012 00:56:50 +0000 (UTC)
commit 6e818705a298d307c5e73e916986e0b1904fb9bb
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Mon Mar 12 00:21:24 2012 +0100
Scrolled windows: set_policy() is now useless
src/document_tab.vala | 1 -
src/utils.vala | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/document_tab.vala b/src/document_tab.vala
index 0b0b501..303dbc8 100644
--- a/src/document_tab.vala
+++ b/src/document_tab.vala
@@ -154,7 +154,6 @@ public class DocumentTab : Grid
// with a scrollbar
ScrolledWindow sw = new ScrolledWindow (null, null);
- sw.set_policy (PolicyType.AUTOMATIC, PolicyType.AUTOMATIC);
if (reparent)
view.reparent (sw);
diff --git a/src/utils.vala b/src/utils.vala
index 7fde86c..26549cd 100644
--- a/src/utils.vala
+++ b/src/utils.vala
@@ -300,7 +300,6 @@ namespace Utils
public Widget add_scrollbar (Widget child)
{
ScrolledWindow scrollbar = new ScrolledWindow (null, null);
- scrollbar.set_policy (PolicyType.AUTOMATIC, PolicyType.AUTOMATIC);
scrollbar.add (child);
return scrollbar;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]