[tepl] Tab: show the view created by TeplTab



commit 6053a580f02f4d2eac689932d14b06ae22684773
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Jun 23 19:37:54 2017 +0200

    Tab: show the view created by TeplTab
    
    Don't call gtk_widget_show() to the widgets provided externally, but
    call gtk_widget_show() on the widgets that TeplTab creates itself.

 tepl/tepl-tab.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tepl/tepl-tab.c b/tepl/tepl-tab.c
index 373d8dd..d73ab51 100644
--- a/tepl/tepl-tab.c
+++ b/tepl/tepl-tab.c
@@ -135,6 +135,7 @@ set_view (TeplTab  *tab,
        {
                /* For tepl_tab_new(). */
                view = TEPL_VIEW (tepl_view_new ());
+               gtk_widget_show (GTK_WIDGET (view));
        }
 
        g_return_if_fail (TEPL_IS_VIEW (view));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]