[ghex: 1/3] Set border-width of vbox instead of win in ghex_window_load.



commit e185dd57f9fc03e34366901b5cf9fc11c71830da
Author: Ryan Koesters <rmkoesters gmail com>
Date:   Mon Nov 5 13:44:45 2018 -0600

    Set border-width of vbox instead of win in ghex_window_load.

 src/ghex-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ghex-window.c b/src/ghex-window.c
index 24f3c55..5f4c627 100644
--- a/src/ghex-window.c
+++ b/src/ghex-window.c
@@ -857,7 +857,7 @@ ghex_window_load(GHexWindow *win, const gchar *filename)
     gtk_widget_show(gh);
 
     vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-    gtk_container_set_border_width(GTK_CONTAINER(win), 4);
+    gtk_container_set_border_width(GTK_CONTAINER(vbox), 4);
     gtk_widget_show(vbox);
     gtk_box_pack_start(GTK_BOX(vbox), gh, TRUE, TRUE, 4);
 


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