diff options
Diffstat (limited to 'examples/application3/exampleappwin.c')
-rw-r--r-- | examples/application3/exampleappwin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/application3/exampleappwin.c b/examples/application3/exampleappwin.c index 17dde515b7..01fb4ae115 100644 --- a/examples/application3/exampleappwin.c +++ b/examples/application3/exampleappwin.c @@ -44,13 +44,11 @@ example_app_window_open (ExampleAppWindow *win, basename = g_file_get_basename (file); scrolled = gtk_scrolled_window_new (NULL, NULL); - gtk_widget_show (scrolled); gtk_widget_set_hexpand (scrolled, TRUE); gtk_widget_set_vexpand (scrolled, TRUE); view = gtk_text_view_new (); gtk_text_view_set_editable (GTK_TEXT_VIEW (view), FALSE); gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (view), FALSE); - gtk_widget_show (view); gtk_container_add (GTK_CONTAINER (scrolled), view); gtk_stack_add_titled (GTK_STACK (win->stack), scrolled, basename, basename); |