summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/textview.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-01-19 10:02:04 +0100
committerTimm Bäder <mail@baedert.org>2017-01-20 21:37:04 +0100
commitea897c6df44c37f573b7ed8e81ad87a9fd5b1009 (patch)
tree02726659b57530b21a5e1f8625ddd6f381bb8824 /demos/gtk-demo/textview.c
parent13b001b77ca3907b4ff1246208755478421a7b32 (diff)
downloadgtk+-ea897c6df44c37f573b7ed8e81ad87a9fd5b1009.tar.gz
Remove gtk_widget_show_all
Diffstat (limited to 'demos/gtk-demo/textview.c')
-rw-r--r--demos/gtk-demo/textview.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/demos/gtk-demo/textview.c b/demos/gtk-demo/textview.c
index 474fdbf9d6..49cba65505 100644
--- a/demos/gtk-demo/textview.c
+++ b/demos/gtk-demo/textview.c
@@ -452,8 +452,6 @@ attach_widgets (GtkTextView *text_view)
widget,
anchor);
- gtk_widget_show_all (widget);
-
++i;
}
}
@@ -515,8 +513,6 @@ do_textview (GtkWidget *do_widget)
attach_widgets (GTK_TEXT_VIEW (view1));
attach_widgets (GTK_TEXT_VIEW (view2));
-
- gtk_widget_show_all (vpaned);
}
if (!gtk_widget_get_visible (window))
@@ -601,5 +597,5 @@ easter_egg_callback (GtkWidget *button,
gtk_window_set_default_size (GTK_WINDOW (window), 300, 400);
- gtk_widget_show_all (window);
+ gtk_widget_show (window);
}