diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-22 08:12:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-22 08:12:55 -0700 |
commit | d7ca4c6554f538eef96626977ffccc1789fcec16 (patch) | |
tree | b93fd11bd703bd7e6d1aa8ca192bb89841a4248e /info.c | |
parent | 7f6d13f8667dc1ee2cc35ce13424735666715b7d (diff) | |
download | subsurface-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |