summaryrefslogtreecommitdiff
path: root/ui/gtk/text_page_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/text_page_utils.c')
-rw-r--r--ui/gtk/text_page_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/text_page_utils.c b/ui/gtk/text_page_utils.c
index 3242244d37..e14777884c 100644
--- a/ui/gtk/text_page_utils.c
+++ b/ui/gtk/text_page_utils.c
@@ -56,7 +56,7 @@ GtkWidget * text_page_new(const char *absolute_path)
{
GtkWidget *page_vb, *txt_scrollw, *txt;
- page_vb = gtk_vbox_new(FALSE, 0);
+ page_vb =ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 0, FALSE);
gtk_container_set_border_width(GTK_CONTAINER(page_vb), 1);
txt_scrollw = scrolled_window_new(NULL, NULL);
gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(txt_scrollw),