changeset 4168:e105374c4fc3

Get rid of the scrolled window.
author William Pitcock <nenolod@atheme.org>
date Thu, 10 Jan 2008 07:22:14 -0600
parents 7c6b3b6def1a
children b99639969b32
files src/audacious/ui_fileinfo.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_fileinfo.c	Thu Jan 10 07:14:10 2008 -0600
+++ b/src/audacious/ui_fileinfo.c	Thu Jan 10 07:22:14 2008 -0600
@@ -481,7 +481,6 @@
     GtkWidget *btn_close;
     GtkWidget *alignment;
     GtkWidget *separator;
-    GtkWidget *scrolledwindow;
     GtkTreeViewColumn *column;
     GtkCellRenderer *renderer;
     gint i;
@@ -710,13 +709,8 @@
     gtk_container_add(GTK_CONTAINER(alignment), arrow_rawdata);
     gtk_box_pack_start(GTK_BOX(hbox), alignment, TRUE, TRUE, 0);
 
-    scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
-    gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-    gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_SHADOW_IN);
-    gtk_container_add(GTK_CONTAINER(arrow_rawdata), scrolledwindow);
-
     treeview_rawdata = gtk_tree_view_new();
-    gtk_container_add(GTK_CONTAINER(scrolledwindow), treeview_rawdata);
+    gtk_container_add(GTK_CONTAINER(arrow_rawdata), treeview_rawdata);
     gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview_rawdata), TRUE);
     gtk_tree_view_set_reorderable(GTK_TREE_VIEW(treeview_rawdata), TRUE);