[niepce] Remove deprecated Gtk::HPaned
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] Remove deprecated Gtk::HPaned
- Date: Sat, 7 Feb 2015 17:11:55 +0000 (UTC)
commit 79a25525b6d888eb5cfd01e6d75674f455fdb611
Author: Hubert Figuière <hub figuiere net>
Date: Fri Nov 21 22:46:33 2014 -0500
Remove deprecated Gtk::HPaned
src/niepce/modules/darkroom/darkroommodule.cpp | 3 ++-
src/niepce/modules/darkroom/darkroommodule.hpp | 2 +-
src/niepce/ui/gridviewmodule.cpp | 3 ++-
src/niepce/ui/gridviewmodule.hpp | 2 +-
src/niepce/ui/niepcewindow.cpp | 1 +
src/niepce/ui/niepcewindow.hpp | 2 +-
6 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/src/niepce/modules/darkroom/darkroommodule.cpp b/src/niepce/modules/darkroom/darkroommodule.cpp
index e078edb..7050752 100644
--- a/src/niepce/modules/darkroom/darkroommodule.cpp
+++ b/src/niepce/modules/darkroom/darkroommodule.cpp
@@ -1,7 +1,7 @@
/*
* niepce - ui/darkroommodule.cpp
*
- * Copyright (C) 2008-2013 Hubert Figuiere
+ * Copyright (C) 2008-2014 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,6 +31,7 @@ namespace dr {
DarkroomModule::DarkroomModule(const ui::IModuleShell & shell)
: m_shell(shell)
+ , m_dr_splitview(Gtk::ORIENTATION_HORIZONTAL)
, m_vbox(Gtk::ORIENTATION_VERTICAL)
, m_image(new ncr::Image)
, m_active(false)
diff --git a/src/niepce/modules/darkroom/darkroommodule.hpp b/src/niepce/modules/darkroom/darkroommodule.hpp
index 1eb5e67..5fc159e 100644
--- a/src/niepce/modules/darkroom/darkroommodule.hpp
+++ b/src/niepce/modules/darkroom/darkroommodule.hpp
@@ -69,7 +69,7 @@ private:
const ui::IModuleShell & m_shell;
// darkroom split view
- Gtk::HPaned m_dr_splitview;
+ Gtk::Paned m_dr_splitview;
Gtk::Box m_vbox;
ImageCanvas* m_imagecanvas;
Gtk::ScrolledWindow m_canvas_scroll;
diff --git a/src/niepce/ui/gridviewmodule.cpp b/src/niepce/ui/gridviewmodule.cpp
index 989ff7d..373b74e 100644
--- a/src/niepce/ui/gridviewmodule.cpp
+++ b/src/niepce/ui/gridviewmodule.cpp
@@ -1,7 +1,7 @@
/*
* niepce - ui/gridviewmodule.cpp
*
- * Copyright (C) 2009-2013 Hubert Figuiere
+ * Copyright (C) 2009-2014 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -42,6 +42,7 @@ GridViewModule::GridViewModule(const IModuleShell & shell,
, m_model(store)
, m_uidataprovider(nullptr)
, m_librarylistview(nullptr)
+ , m_lib_splitview(Gtk::ORIENTATION_HORIZONTAL)
, m_dock(nullptr)
{
m_uidataprovider = m_shell.getLibraryClient()->getDataProvider();
diff --git a/src/niepce/ui/gridviewmodule.hpp b/src/niepce/ui/gridviewmodule.hpp
index e848f8b..5f14e54 100644
--- a/src/niepce/ui/gridviewmodule.hpp
+++ b/src/niepce/ui/gridviewmodule.hpp
@@ -90,7 +90,7 @@ private:
fwk::ImageGridView* m_librarylistview;
Gtk::ScrolledWindow m_scrollview;
MetaDataPaneController::Ptr m_metapanecontroller;
- Gtk::HPaned m_lib_splitview;
+ Gtk::Paned m_lib_splitview;
fwk::Dock *m_dock;
};
diff --git a/src/niepce/ui/niepcewindow.cpp b/src/niepce/ui/niepcewindow.cpp
index e19208a..ec467aa 100644
--- a/src/niepce/ui/niepcewindow.cpp
+++ b/src/niepce/ui/niepcewindow.cpp
@@ -58,6 +58,7 @@ namespace ui {
NiepceWindow::NiepceWindow()
: fwk::AppFrame("mainWindow-frame")
, m_vbox(Gtk::ORIENTATION_VERTICAL)
+ , m_hbox(Gtk::ORIENTATION_HORIZONTAL)
{
// headerbar.
Gtk::HeaderBar *header = Gtk::manage(new Gtk::HeaderBar);
diff --git a/src/niepce/ui/niepcewindow.hpp b/src/niepce/ui/niepcewindow.hpp
index a1b80ca..653f836 100644
--- a/src/niepce/ui/niepcewindow.hpp
+++ b/src/niepce/ui/niepcewindow.hpp
@@ -81,7 +81,7 @@ private:
niepce::NotificationCenter::Ptr m_notifcenter;
Gtk::Box m_vbox;
- Gtk::HPaned m_hbox;
+ Gtk::Paned m_hbox;
ModuleShell::Ptr m_moduleshell; // the main views stacked.
WorkspaceController::Ptr m_workspacectrl;
FilmStripController::Ptr m_filmstrip;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]