From: Linus Torvalds Date: Thu, 22 Sep 2011 15:12:55 +0000 (-0700) Subject: Don't do individual 'gtk_widget_show()' calls X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=d7ca4c6554f538eef96626977ffccc1789fcec16;p=ext%2Fsubsurface.git Don't do individual 'gtk_widget_show()' calls This is left-overs from an earlier age when we did this. But we just do the "show_all" at the end. Signed-off-by: Linus Torvalds --- diff --git a/info.c b/info.c index e79a80b..aa38c05 100644 --- a/info.c +++ b/info.c @@ -151,7 +151,6 @@ static GtkTextBuffer *text_view(GtkWidget *box, const char *label) GtkWidget* scrolled_window = gtk_scrolled_window_new(0, 0); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolled_window), GTK_SHADOW_IN); - gtk_widget_show(scrolled_window); view = gtk_text_view_new(); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(view), GTK_WRAP_WORD);