[glom] Tiny improvement
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Tiny improvement
- Date: Tue, 11 Oct 2011 14:41:22 +0000 (UTC)
commit 1a202dbdf6b3defcc5c4bfa108dacb8151bc8bb9
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Oct 11 16:41:16 2011 +0200
Tiny improvement
glom/mode_data/box_data_list_related.cc | 2 +-
glom/mode_data/box_data_portal.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glom/mode_data/box_data_list_related.cc b/glom/mode_data/box_data_list_related.cc
index 3c598d3..80cee34 100644
--- a/glom/mode_data/box_data_list_related.cc
+++ b/glom/mode_data/box_data_list_related.cc
@@ -98,7 +98,7 @@ bool Box_Data_List_Related::init_db_details(const Glib::ustring& parent_table, b
m_Label.set_markup(Glib::ustring());
m_Label.hide();
- m_Alignment.set_padding(0, 0, 0, 0); //The box itself has padding of 6.
+ m_Alignment.set_padding(0.0f, 0.0f, 0.0f, 0.0f); //The box itself has padding of 6.
}
if(m_portal)
diff --git a/glom/mode_data/box_data_portal.cc b/glom/mode_data/box_data_portal.cc
index f22f395..c95d3da 100644
--- a/glom/mode_data/box_data_portal.cc
+++ b/glom/mode_data/box_data_portal.cc
@@ -155,7 +155,7 @@ bool Box_Data_Portal::init_db_details(const Glib::ustring& parent_table, bool sh
m_Label.set_markup(Glib::ustring());
m_Label.hide();
- m_Alignment.set_padding(0, 0, 0, 0); //The box itself has padding of 6.
+ m_Alignment.set_padding(0.0f, 0.0f, 0.0f, 0.0f); //The box itself has padding of 6.
}
m_key_field = get_fields_for_table_one_field(LayoutWidgetBase::m_table_name, m_portal->get_to_field_used());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]