diff options
author | Alan F <ajf@eth0.org.uk> | 2014-01-31 13:16:49 +0000 |
---|---|---|
committer | Alan F <ajf@eth0.org.uk> | 2014-01-31 13:16:49 +0000 |
commit | faec778fb74c3303796b07ee93585584659f456b (patch) | |
tree | b6dd9e97dc63a82b295ea10424ec36658d87f08a /src/trg-main-window.c | |
parent | 4db3da7a21ad5434b20462be10bfe4d6bcb6270f (diff) |
remove the GtkAlignment that adds 6px padding around outer vbox. not sure why that was ever there.
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r-- | src/trg-main-window.c | 10 |
1 files changed, 5 insertions, 5 deletions
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), |