[evince] Removed deprecated GTK_POLICY_AUTOMATIC
- From: Daniel Mustieles GarcÃa <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Removed deprecated GTK_POLICY_AUTOMATIC
- Date: Sun, 22 Apr 2012 16:00:34 +0000 (UTC)
commit df0bee73615912475d318c4772581af760dc833a
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Sun Apr 22 17:42:09 2012 +0200
Removed deprecated GTK_POLICY_AUTOMATIC
cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 2 --
libview/ev-annotation-window.c | 3 ---
libview/ev-view.c | 3 ---
previewer/ev-previewer-window.c | 3 ---
shell/ev-properties-fonts.c | 3 ---
shell/ev-properties-license.c | 3 ---
shell/ev-sidebar-annotations.c | 4 ----
shell/ev-sidebar-bookmarks.c | 3 ---
shell/ev-sidebar-links.c | 2 --
9 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
index 09339ab..db1db3d 100644
--- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
+++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
@@ -657,8 +657,6 @@ setup_editor (EggToolbarEditor *editor)
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
editor->priv->scrolled_window = scrolled_window;
gtk_widget_show (scrolled_window);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
- GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_box_pack_start (GTK_BOX (editor), scrolled_window, TRUE, TRUE, 0);
}
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index 3f1a507..c0229ce 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -316,9 +316,6 @@ ev_annotation_window_init (EvAnnotationWindow *window)
/* Contents */
swindow = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
window->text_view = gtk_text_view_new ();
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (window->text_view), GTK_WRAP_WORD);
g_signal_connect (window->text_view, "button_press_event",
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 06017b5..b096285 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -2360,9 +2360,6 @@ ev_view_form_field_choice_create_widget (EvView *view,
NULL);
choice = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (choice),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
gtk_container_add (GTK_CONTAINER (choice), tree_view);
gtk_widget_show (tree_view);
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c
index b1cb2c9..eeddfe9 100644
--- a/previewer/ev-previewer-window.c
+++ b/previewer/ev-previewer-window.c
@@ -603,9 +603,6 @@ ev_previewer_window_constructor (GType type,
gtk_widget_show (toolbar);
window->swindow = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (window->swindow),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
window->view = EV_VIEW (ev_view_new ());
g_signal_connect_object (window->view, "focus_in_event",
diff --git a/shell/ev-properties-fonts.c b/shell/ev-properties-fonts.c
index 45039a7..bb2c24f 100644
--- a/shell/ev-properties-fonts.c
+++ b/shell/ev-properties-fonts.c
@@ -113,9 +113,6 @@ ev_properties_fonts_init (EvPropertiesFonts *properties)
gtk_box_set_spacing (GTK_BOX (properties), 6);
swindow = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (swindow),
GTK_SHADOW_IN);
diff --git a/shell/ev-properties-license.c b/shell/ev-properties-license.c
index c29353c..21cfb70 100644
--- a/shell/ev-properties-license.c
+++ b/shell/ev-properties-license.c
@@ -58,9 +58,6 @@ get_license_text_widget (EvDocumentLicense *license)
gtk_text_buffer_set_text (buffer, ev_document_license_get_text (license), -1);
swindow = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (swindow),
GTK_SHADOW_IN);
gtk_container_add (GTK_CONTAINER (swindow), textview);
diff --git a/shell/ev-sidebar-annotations.c b/shell/ev-sidebar-annotations.c
index 787c9fb..3d736a4 100644
--- a/shell/ev-sidebar-annotations.c
+++ b/shell/ev-sidebar-annotations.c
@@ -124,8 +124,6 @@ ev_sidebar_annotations_add_annots_list (EvSidebarAnnotations *ev_annots)
GtkWidget *label;
swindow = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
- GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (swindow),
GTK_SHADOW_IN);
@@ -194,8 +192,6 @@ ev_sidebar_annotations_add_annots_palette (EvSidebarAnnotations *ev_annots)
GtkWidget *label;
swindow = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
- GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (swindow),
GTK_SHADOW_IN);
diff --git a/shell/ev-sidebar-bookmarks.c b/shell/ev-sidebar-bookmarks.c
index aadded0..b8e1143 100644
--- a/shell/ev-sidebar-bookmarks.c
+++ b/shell/ev-sidebar-bookmarks.c
@@ -430,9 +430,6 @@ ev_sidebar_bookmarks_init (EvSidebarBookmarks *sidebar_bookmarks)
gtk_box_set_spacing (GTK_BOX (sidebar_bookmarks), 6);
swindow = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (swindow),
GTK_SHADOW_IN);
gtk_box_pack_start (GTK_BOX (sidebar_bookmarks), swindow, TRUE, TRUE, 0);
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index 4f34ead..9d8e495 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -396,8 +396,6 @@ ev_sidebar_links_construct (EvSidebarLinks *ev_sidebar_links)
swindow = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
- GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (swindow),
GTK_SHADOW_IN);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]