diff --git a/examples/application10/exampleappwin.c b/examples/application10/exampleappwin.c index 1e8eaf7327..a9311ec5a2 100644 --- a/examples/application10/exampleappwin.c +++ b/examples/application10/exampleappwin.c @@ -111,7 +111,6 @@ done: row = gtk_button_new_with_label (key); g_signal_connect (row, "clicked", G_CALLBACK (find_word), win); - gtk_widget_show (row); gtk_container_add (GTK_CONTAINER (win->words), row); } @@ -272,13 +271,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); 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); diff --git a/examples/application4/exampleappwin.c b/examples/application4/exampleappwin.c index 17dde515b7..01fb4ae115 100644 --- a/examples/application4/exampleappwin.c +++ b/examples/application4/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); diff --git a/examples/application5/exampleappwin.c b/examples/application5/exampleappwin.c index 764ffe5573..ca45b85d40 100644 --- a/examples/application5/exampleappwin.c +++ b/examples/application5/exampleappwin.c @@ -67,13 +67,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); diff --git a/examples/application6/exampleappwin.c b/examples/application6/exampleappwin.c index 764ffe5573..ca45b85d40 100644 --- a/examples/application6/exampleappwin.c +++ b/examples/application6/exampleappwin.c @@ -67,13 +67,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); diff --git a/examples/application7/exampleappwin.c b/examples/application7/exampleappwin.c index 38ec027128..3dc75e5beb 100644 --- a/examples/application7/exampleappwin.c +++ b/examples/application7/exampleappwin.c @@ -120,13 +120,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); diff --git a/examples/application8/exampleappwin.c b/examples/application8/exampleappwin.c index 41d4df657b..e679129b27 100644 --- a/examples/application8/exampleappwin.c +++ b/examples/application8/exampleappwin.c @@ -109,7 +109,6 @@ done: row = gtk_button_new_with_label (key); g_signal_connect (row, "clicked", G_CALLBACK (find_word), win); - gtk_widget_show (row); gtk_container_add (GTK_CONTAINER (win->words), row); } @@ -225,13 +224,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); diff --git a/examples/application9/exampleappwin.c b/examples/application9/exampleappwin.c index 7d19b980e2..50ad92a4ac 100644 --- a/examples/application9/exampleappwin.c +++ b/examples/application9/exampleappwin.c @@ -111,7 +111,6 @@ done: row = gtk_button_new_with_label (key); g_signal_connect (row, "clicked", G_CALLBACK (find_word), win); - gtk_widget_show (row); gtk_container_add (GTK_CONTAINER (win->words), row); } @@ -269,13 +268,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);