[glom] CanvasEditable: Remove unused private member variables.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] CanvasEditable: Remove unused private member variables.
- Date: Fri, 8 Apr 2016 08:24:44 +0000 (UTC)
commit fd858a08c8078b5c0a2f2d8884fa3ec7bd2df4e0
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Apr 1 23:17:40 2016 +0200
CanvasEditable: Remove unused private member variables.
Found by clang-tidy.
glom/utility_widgets/canvas/canvas_editable.cc | 2 --
glom/utility_widgets/canvas/canvas_editable.h | 3 ---
2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/glom/utility_widgets/canvas/canvas_editable.cc b/glom/utility_widgets/canvas/canvas_editable.cc
index 8e85134..c4e4bcc 100644
--- a/glom/utility_widgets/canvas/canvas_editable.cc
+++ b/glom/utility_widgets/canvas/canvas_editable.cc
@@ -28,8 +28,6 @@ namespace Glom
{
CanvasEditable::CanvasEditable()
-: m_dragging(false),
- m_drag_x(0.0), m_drag_y(0.0)
{
m_grid = CanvasGroupGrid::create();
add_item(m_grid);
diff --git a/glom/utility_widgets/canvas/canvas_editable.h b/glom/utility_widgets/canvas/canvas_editable.h
index 18eb678..a0515e6 100644
--- a/glom/utility_widgets/canvas/canvas_editable.h
+++ b/glom/utility_widgets/canvas/canvas_editable.h
@@ -102,9 +102,6 @@ private:
void on_item_selected(const Glib::RefPtr<CanvasItemMovable>& item, bool group_select);
- bool m_dragging;
- double m_drag_x, m_drag_y;
-
class ItemInfo
{
public:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]