From faec778fb74c3303796b07ee93585584659f456b Mon Sep 17 00:00:00 2001 From: Alan F Date: Fri, 31 Jan 2014 13:16:49 +0000 Subject: remove the GtkAlignment that adds 6px padding around outer vbox. not sure why that was ever there. --- src/trg-main-window.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/trg-main-window.c b/src/trg-main-window.c index 164bd79..906a384 100644 --- a/src/trg-main-window.c +++ b/src/trg-main-window.c @@ -2639,7 +2639,7 @@ static GObject *trg_main_window_constructor(GType type, GtkWidget *w; GtkWidget *outerVbox; GtkWidget *toolbarHbox; - GtkWidget *outerAlignment; + //GtkWidget *outerAlignment; GtkIconTheme *theme; gint width, height, pos; gboolean tray; @@ -2706,11 +2706,11 @@ static GObject *trg_main_window_constructor(GType type, /* Create a GtkAlignment to hold the outerVbox making possible * some padding. */ - outerAlignment = gtk_alignment_new (0.5f, 0.5f, 1.0f, 1.0f); - gtk_alignment_set_padding (GTK_ALIGNMENT (outerAlignment), 0, 0, 6, 6); - gtk_container_add (GTK_CONTAINER (outerAlignment), outerVbox); + //outerAlignment = gtk_alignment_new (0.5f, 0.5f, 1.0f, 1.0f); + //gtk_alignment_set_padding (GTK_ALIGNMENT (outerAlignment), 0, 0, 0, 0); + //gtk_container_add (GTK_CONTAINER (outerAlignment), outerVbox); - gtk_container_add(GTK_CONTAINER(self), outerAlignment); + gtk_container_add(GTK_CONTAINER(self), outerVbox); priv->menuBar = trg_main_window_menu_bar_new(self); gtk_box_pack_start(GTK_BOX(outerVbox), GTK_WIDGET(priv->menuBar), -- cgit v1.2.3