diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-01-19 16:22:28 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-01-19 23:29:13 +0300 |
commit | af0d876bb7da883af10fc4517de67d2318bf099b (patch) | |
tree | 14dea81e35a6c23f7a528bda1cbc06a0e3670b5f /tests/testnotebookdnd.c | |
parent | ffef28a7e8d5ffef7de6a3baccb30b0021b6b0ff (diff) | |
download | gtk+-af0d876bb7da883af10fc4517de67d2318bf099b.tar.gz |
tests: Remove some unneeded gtk_widget_show calls
Widgets are visible by default now.
Diffstat (limited to 'tests/testnotebookdnd.c')
-rw-r--r-- | tests/testnotebookdnd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/testnotebookdnd.c b/tests/testnotebookdnd.c index 9fd00e6500..5d87a90b0d 100644 --- a/tests/testnotebookdnd.c +++ b/tests/testnotebookdnd.c @@ -142,7 +142,6 @@ action_clicked_cb (GtkWidget *button, page = gtk_entry_new (); gtk_entry_set_text (GTK_ENTRY (page), "Addition"); - gtk_widget_show (page); title = gtk_label_new ("Addition"); @@ -164,7 +163,6 @@ create_notebook (gchar **labels, action_widget = gtk_button_new_from_icon_name ("list-add-symbolic"); g_signal_connect (action_widget, "clicked", G_CALLBACK (action_clicked_cb), notebook); - gtk_widget_show (action_widget); gtk_notebook_set_action_widget (GTK_NOTEBOOK (notebook), action_widget, GTK_PACK_END); g_signal_connect (notebook, "create-window", @@ -208,7 +206,6 @@ create_notebook_non_dragable_content (gchar **labels, action_widget = gtk_button_new_from_icon_name ("list-add-symbolic"); g_signal_connect (action_widget, "clicked", G_CALLBACK (action_clicked_cb), notebook); - gtk_widget_show (action_widget); gtk_notebook_set_action_widget (GTK_NOTEBOOK (notebook), action_widget, GTK_PACK_END); g_signal_connect (notebook, "create-window", |