Expand the view instead of the paned.

parent f7936db6
......@@ -461,7 +461,6 @@ add_notebook (GeditMultiNotebook *mnb,
gboolean collapse_new_notebook = FALSE;
paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
gtk_widget_set_vexpand (paned, TRUE);
gtk_widget_show (paned);
/* First we remove the active container from its parent to make
......
......@@ -1432,6 +1432,7 @@ gedit_view_frame_init (GeditViewFrame *frame)
frame);
frame->priv->view = gedit_view_new (doc);
gtk_widget_set_vexpand (frame->priv->view, TRUE);
gtk_widget_show (frame->priv->view);
g_object_unref (doc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment