? no_border_patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-media/ChangeLog,v
retrieving revision 1.203
diff -u -p -r1.203 ChangeLog
--- ChangeLog	27 Feb 2004 16:47:02 -0000	1.203
+++ ChangeLog	29 Feb 2004 23:43:18 -0000
@@ -1,3 +1,12 @@
+2004-02-29  Seth Nickell  <seth@gnome.org>
+
+        Fixes: #134331, a UI-REVIEW bug
+	
+	* gst-mixer/src/mixer.c: (create_mixer_widget):
+
+	Remove borders that are automatically put around
+	GtkViewports. 
+
 2004-02-27 Breda McColgan <breda.mccolgan@sun.com>
 
 	* gst-mixer/doc/C/gnome-volume-control.xml: Updated for GNOME 2.6, technical review draft
Index: gst-mixer/src/mixer.c
===================================================================
RCS file: /cvs/gnome/gnome-media/gst-mixer/src/mixer.c,v
retrieving revision 1.8
diff -u -p -r1.8 mixer.c
--- gst-mixer/src/mixer.c	23 Feb 2004 06:55:15 -0000	1.8
+++ gst-mixer/src/mixer.c	29 Feb 2004 23:43:19 -0000
@@ -290,6 +290,10 @@ create_mixer_widget (GstMixer *mixer)
 {
   GtkWidget *view;
   GtkWidget *table;
+  GtkWidget *viewport;
+  GtkAdjustment *hadjustment;
+  GtkAdjustment *vadjustment;
+
   gint tablepos = 0;
   const GList *tracks;
 
@@ -330,7 +334,16 @@ create_mixer_widget (GstMixer *mixer)
 				  GTK_POLICY_NEVER);
   if (tablepos > 30)
     gtk_widget_set_size_request (view, 600, -1);
-  gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (view), table);
+
+  hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW (view));
+  vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW (view));
+
+  viewport = gtk_viewport_new(GTK_ADJUSTMENT (hadjustment), GTK_ADJUSTMENT (vadjustment));
+  gtk_viewport_set_shadow_type(GTK_VIEWPORT (viewport), GTK_SHADOW_NONE);
+
+  gtk_container_add(GTK_CONTAINER (viewport), table);
+  gtk_container_add(GTK_CONTAINER (view), viewport);
+
 
   return view;
 }
