[totem/gnome-2-28] Really remove the border width



commit 1a7b7a7e3c9438c0b9913e30ae28321f3d1ce522
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 27 18:04:32 2010 +0100

    Really remove the border width

 src/totem-object.c |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 5f322e1..8c11214 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -94,8 +94,6 @@
 
 #define VOLUME_EPSILON (1e-10)
 
-#define BVW_VBOX_BORDER_WIDTH 1
-
 /* casts are to shut gcc up */
 static const GtkTargetEntry target_table[] = {
 	{ (gchar*) "text/uri-list", 0, 0 },
@@ -2793,7 +2791,7 @@ show_controls (Totem *totem, gboolean was_fullscreen)
 					&value);
 			handle_size = g_value_get_int (&value);
 			g_value_unset (&value);
-			
+
 			gtk_widget_show (totem->sidebar);
 			width += totem->sidebar->allocation.width
 				+ handle_size;
@@ -2801,15 +2799,10 @@ show_controls (Totem *totem, gboolean was_fullscreen)
 			gtk_widget_hide (totem->sidebar);
 		}
 
-		gtk_container_set_border_width (GTK_CONTAINER (bvw_box),
-				BVW_VBOX_BORDER_WIDTH);
-
 		if (was_fullscreen == FALSE) {
 			height += menubar->allocation.height
 				+ controlbar->allocation.height
-				+ statusbar->allocation.height
-				+ 2 * BVW_VBOX_BORDER_WIDTH;
-			width += 2 * BVW_VBOX_BORDER_WIDTH;
+				+ statusbar->allocation.height;
 			gtk_window_resize (GTK_WINDOW(totem->win),
 					width, height);
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]