[glom] Remove debug output



commit 526a5a7fb04f48e6f75036f17a2826e5aee8dd07
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Aug 5 19:43:03 2011 +0200

    Remove debug output

 .../print_layouts/window_print_layout_edit.cc      |    8 ++------
 glom/print_layout/canvas_print_layout.cc           |    2 +-
 2 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/glom/mode_design/print_layouts/window_print_layout_edit.cc b/glom/mode_design/print_layouts/window_print_layout_edit.cc
index a30e04b..62bb99a 100644
--- a/glom/mode_design/print_layouts/window_print_layout_edit.cc
+++ b/glom/mode_design/print_layouts/window_print_layout_edit.cc
@@ -518,17 +518,13 @@ Window_PrintLayout_Edit::~Window_PrintLayout_Edit()
 
 void Window_PrintLayout_Edit::update_table_title()
 {
-  std::cout << G_STRFUNC << ": debug 1" << std::endl;
-
-  Document* document = dynamic_cast<Document*>(get_document());
+  const Document* document = dynamic_cast<const Document*>(get_document());
   if(!document)
   {
     std::cerr << G_STRFUNC << ": document was null" << std::endl;
     return;
   }
 
-  std::cout << G_STRFUNC << ": debug 2" << std::endl;
-
   Glib::ustring table_label = _("None selected");
 
   //Show the table title (if any) and name:
@@ -639,7 +635,7 @@ void Window_PrintLayout_Edit::setup_context_menu()
   m_context_menu_action_group->add(action,
     sigc::mem_fun(*this, &Window_PrintLayout_Edit::on_context_menu_insert_field) );
 
-  action =  Gtk::Action::create("ContextInsertText", _("Text"));
+  action = Gtk::Action::create("ContextInsertText", _("Text"));
   m_context_menu_action_group->add(action,
     sigc::mem_fun(*this, &Window_PrintLayout_Edit::on_context_menu_insert_text) );
 
diff --git a/glom/print_layout/canvas_print_layout.cc b/glom/print_layout/canvas_print_layout.cc
index d1caa90..229c17e 100644
--- a/glom/print_layout/canvas_print_layout.cc
+++ b/glom/print_layout/canvas_print_layout.cc
@@ -235,7 +235,7 @@ void Canvas_PrintLayout::setup_context_menu()
   m_context_menu_action_group->add(action,
     sigc::mem_fun(*this, &Canvas_PrintLayout::on_context_menu_insert_field) );
 
-  action =  Gtk::Action::create("ContextInsertText", _("Text"));
+  action = Gtk::Action::create("ContextInsertText", _("Text"));
   m_context_menu_action_group->add(action,
     sigc::mem_fun(*this, &Canvas_PrintLayout::on_context_menu_insert_text) );
 */



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