[gtkmm-documentation] InfoBar example: Really show the infobar when it shall be shown
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] InfoBar example: Really show the infobar when it shall be shown
- Date: Thu, 14 Nov 2013 14:40:07 +0000 (UTC)
commit 79d9b2519539ecd4647b5d0c9a36f58dd45384f8
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Thu Nov 14 15:36:27 2013 +0100
InfoBar example: Really show the infobar when it shall be shown
* examples/book/infobar/examplewindow.cc: Use show_all() instead of
show_all_children(). Not sure why this is necessary. I think only
show_all() will realize the infobar.
examples/book/infobar/examplewindow.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/book/infobar/examplewindow.cc b/examples/book/infobar/examplewindow.cc
index f57cce4..15863f9 100644
--- a/examples/book/infobar/examplewindow.cc
+++ b/examples/book/infobar/examplewindow.cc
@@ -69,7 +69,7 @@ ExampleWindow::ExampleWindow()
m_refTextBuffer->signal_changed().connect(sigc::mem_fun(*this,
&ExampleWindow::on_textbuffer_changed) );
- show_all_children();
+ show_all();
// Keep the InfoBar hidden until a message needs to be shown:
m_InfoBar.hide();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]