[glom] Minor indentation fixes.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Minor indentation fixes.
- Date: Mon, 7 Nov 2016 19:47:49 +0000 (UTC)
commit 5d2920184f26f7f2756cdf92592c76f73b3fd50e
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Nov 7 14:11:54 2016 +0100
Minor indentation fixes.
glom/mode_data/datawidget/combo.cc | 2 +-
.../datawidget/combochoiceswithtreemodel.cc | 2 +-
glom/mode_data/datawidget/entry.cc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glom/mode_data/datawidget/combo.cc b/glom/mode_data/datawidget/combo.cc
index 3f3d822..63cc98a 100644
--- a/glom/mode_data/datawidget/combo.cc
+++ b/glom/mode_data/datawidget/combo.cc
@@ -271,7 +271,7 @@ void ComboGlom::set_value(const Gnome::Gda::Value& value)
return;
const Glib::ustring fg_color =
- layout_item->get_formatting_used().get_text_format_color_foreground_to_use(value);
+ layout_item->get_formatting_used().get_text_format_color_foreground_to_use(value);
if(fg_color.empty())
{
//GtkComboBox doesn't interpret "" as an unset. TODO: Fix that?
diff --git a/glom/mode_data/datawidget/combochoiceswithtreemodel.cc
b/glom/mode_data/datawidget/combochoiceswithtreemodel.cc
index 34d95b7..c5698f9 100644
--- a/glom/mode_data/datawidget/combochoiceswithtreemodel.cc
+++ b/glom/mode_data/datawidget/combochoiceswithtreemodel.cc
@@ -361,7 +361,7 @@ void ComboChoicesWithTreeModel::set_cell_for_field_value(Gtk::CellRenderer* cell
if(type == Field::glom_field_type::NUMERIC)
{
const Glib::ustring fg_color =
- field->get_formatting_used().get_text_format_color_foreground_to_use(value);
+ field->get_formatting_used().get_text_format_color_foreground_to_use(value);
if(!fg_color.empty())
pDerived->property_foreground() = fg_color;
else
diff --git a/glom/mode_data/datawidget/entry.cc b/glom/mode_data/datawidget/entry.cc
index 24331ee..1e90d44 100644
--- a/glom/mode_data/datawidget/entry.cc
+++ b/glom/mode_data/datawidget/entry.cc
@@ -149,7 +149,7 @@ void Entry::set_value(const Gnome::Gda::Value& value)
if(layout_item->get_glom_type() == Field::glom_field_type::NUMERIC)
{
const Glib::ustring fg_color =
- layout_item->get_formatting_used().get_text_format_color_foreground_to_use(value);
+ layout_item->get_formatting_used().get_text_format_color_foreground_to_use(value);
if(!fg_color.empty())
{
UiUtils::load_color_into_css_provider(*this, fg_color);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]