summaryrefslogtreecommitdiffstats
path: root/info.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-22 08:12:55 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-22 08:12:55 -0700
commitd7ca4c6554f538eef96626977ffccc1789fcec16 (patch)
treeb93fd11bd703bd7e6d1aa8ca192bb89841a4248e /info.c
parent7f6d13f8667dc1ee2cc35ce13424735666715b7d (diff)
downloadsubsurface-d7ca4c6554f538eef96626977ffccc1789fcec16.tar.gz
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 <torvalds@linux-foundation.org>
Diffstat (limited to 'info.c')
-rw-r--r--info.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/info.c b/info.c
index e79a80b38..aa38c053e 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);