[glom] Dialog_Layout: Avoid some repeated code.



commit 9915552bed52a18b86ade81317f0d3a381d3c623
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Mar 30 11:59:06 2016 +0200

    Dialog_Layout: Avoid some repeated code.
    
    Found by cppcheck.

 glom/mode_design/layout/dialog_layout.cc |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/glom/mode_design/layout/dialog_layout.cc b/glom/mode_design/layout/dialog_layout.cc
index 9e2ad93..b5ff4b7 100644
--- a/glom/mode_design/layout/dialog_layout.cc
+++ b/glom/mode_design/layout/dialog_layout.cc
@@ -53,8 +53,6 @@ void Dialog_Layout::init(const Glib::ustring& layout_name, const Glib::ustring&
   m_layout_name = layout_name;
   m_layout_platform = layout_platform;
   m_table_name = table_name;
-
-  m_modified = false;
 }
 
 void Dialog_Layout::move_treeview_selection_up(Gtk::TreeView* treeview, const Gtk::TreeModelColumn<guint>& 
sequence_column)


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