[niepce] Remove the last Gtk::VBox references
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] Remove the last Gtk::VBox references
- Date: Thu, 1 Jun 2017 03:39:59 +0000 (UTC)
commit 81fd3484cb98af7fc1cf326ffdb9624166103e8c
Author: Hubert Figuière <hub figuiere net>
Date: Mon May 22 09:42:28 2017 -0400
Remove the last Gtk::VBox references
src/fwk/toolkit/widgets/dock-item.cpp | 2 +-
src/fwk/toolkit/widgets/dock.cpp | 1 +
src/fwk/toolkit/widgets/dock.hpp | 4 ++--
3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/fwk/toolkit/widgets/dock-item.cpp b/src/fwk/toolkit/widgets/dock-item.cpp
index dfc78ab..f748a13 100644
--- a/src/fwk/toolkit/widgets/dock-item.cpp
+++ b/src/fwk/toolkit/widgets/dock-item.cpp
@@ -96,7 +96,7 @@ DockItem::gobj()
return _gdl_dock_item;
}
-Gtk::VBox *
+Gtk::Box *
DockItem::get_vbox()
{
return &_dock_item_box;
diff --git a/src/fwk/toolkit/widgets/dock.cpp b/src/fwk/toolkit/widgets/dock.cpp
index f081ced..a33e76d 100644
--- a/src/fwk/toolkit/widgets/dock.cpp
+++ b/src/fwk/toolkit/widgets/dock.cpp
@@ -24,6 +24,7 @@ namespace fwk {
Dock::Dock()
+ : m_vbox(Gtk::ORIENTATION_VERTICAL)
{
set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_ALWAYS);
add(m_vbox);
diff --git a/src/fwk/toolkit/widgets/dock.hpp b/src/fwk/toolkit/widgets/dock.hpp
index 22634d5..d21075d 100644
--- a/src/fwk/toolkit/widgets/dock.hpp
+++ b/src/fwk/toolkit/widgets/dock.hpp
@@ -33,10 +33,10 @@ class Dock
public:
Dock();
- Gtk::VBox & vbox()
+ Gtk::Box & vbox()
{ return m_vbox; }
private:
- Gtk::VBox m_vbox;
+ Gtk::Box m_vbox;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]