[glom] Removed debug output.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glom] Removed debug output.
- Date: Thu, 3 Dec 2009 16:03:56 +0000 (UTC)
commit 26efd929dff0f953201ff198dc178d628141c0b5
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Dec 3 17:03:48 2009 +0100
Removed debug output.
glom/mode_design/fields/dialog_fielddefinition.cc | 3 +++
glom/mode_design/layout/combobox_fields.cc | 1 -
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/glom/mode_design/fields/dialog_fielddefinition.cc b/glom/mode_design/fields/dialog_fielddefinition.cc
index a5054eb..964ce82 100644
--- a/glom/mode_design/fields/dialog_fielddefinition.cc
+++ b/glom/mode_design/fields/dialog_fielddefinition.cc
@@ -165,6 +165,9 @@ void Dialog_FieldDefinition::set_field(const sharedptr<const Field>& field, cons
field_default_value->set_title(_("Default Value"));
layout_item->set_full_field_details(field_default_value);
m_pDataWidget_DefaultValueSimple = Gtk::manage( new DataWidget(layout_item, "", get_document()) );
+ if(!(m_pDataWidget_DefaultValueSimple->get_data_child_widget()))
+ std::cerr << "Dialog_FieldDefinition::set_field(): The DataWidget did not create a child widget." << std::endl;
+
on_foreach_connect(*m_pDataWidget_DefaultValueSimple);
Gtk::Label* pLabel = m_pDataWidget_DefaultValueSimple->get_label();
diff --git a/glom/mode_design/layout/combobox_fields.cc b/glom/mode_design/layout/combobox_fields.cc
index 017325e..f1c060b 100644
--- a/glom/mode_design/layout/combobox_fields.cc
+++ b/glom/mode_design/layout/combobox_fields.cc
@@ -179,7 +179,6 @@ void ComboBox_Fields::set_fields(const type_vec_fields& fields, bool with_none_i
tree_iter = m_model->append();
row = *tree_iter;
- std::cout << "DEBUG: ComboBox_Fields::set_fields(): adding none item." << std::endl;
row[m_model_columns.m_field] = sharedptr<Field>();
row[m_model_columns.m_separator] = true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]