]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Don't do individual 'gtk_widget_show()' calls
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Sep 2011 15:12:55 +0000 (08:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Sep 2011 15:12:55 +0000 (08:12 -0700)
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 <torvalds@linux-foundation.org>
info.c

diff --git a/info.c b/info.c
index e79a80b38193e65b0cdc17d1170bc2aaea83faf5..aa38c053ecaefd74482a0ee6d46c98fc6c3b7b89 100644 (file)
--- 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);