[glom] libglom: FieldFomatting: Correct some parameter names.



commit b0b5ad68f70f20e2c31976034a028f259bbb8af3
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Oct 18 11:33:21 2011 +0200

    libglom: FieldFomatting: Correct some parameter names.
    
    * glom/libglom/data_structure/layout/fieldformatting.h: get_choices_related()
    Rename relationship_name to relatioship. It was already correct in the .cc
    file.

 ChangeLog                                          |    8 ++++++++
 .../data_structure/layout/fieldformatting.h        |    4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 19357a6..1677755 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-10-18  Murray Cumming  <murrayc murrayc com>
 
+	libglom: FieldFomatting: Correct some parameter names.
+	
+	* glom/libglom/data_structure/layout/fieldformatting.h: get_choices_related()
+	Rename relationship_name to relatioship. It was already correct in the .cc
+	file.
+
+2011-10-18  Murray Cumming  <murrayc murrayc com>
+
 	Correct the pkg-config file.
 
 	* glom/libglom/glom.pc.in: Depend on libgdamm-5.0, not ligdamm-4.0.
diff --git a/glom/libglom/data_structure/layout/fieldformatting.h b/glom/libglom/data_structure/layout/fieldformatting.h
index d435fd3..7bae2fd 100644
--- a/glom/libglom/data_structure/layout/fieldformatting.h
+++ b/glom/libglom/data_structure/layout/fieldformatting.h
@@ -69,8 +69,8 @@ public:
    */
   void set_choices_restricted(bool val = true, bool as_radio_buttons = false);
 
-  void get_choices_related(sharedptr<const Relationship>& relationship_name, sharedptr<LayoutItem_Field>& field, sharedptr<LayoutGroup>& extra_layout, bool& show_all);
-  void get_choices_related(sharedptr<const Relationship>& relationship_name, sharedptr<const LayoutItem_Field>& field, sharedptr<const LayoutGroup>& extra_layout, bool& show_all) const;
+  void get_choices_related(sharedptr<const Relationship>& relationship, sharedptr<LayoutItem_Field>& field, sharedptr<LayoutGroup>& extra_layout, bool& show_all);
+  void get_choices_related(sharedptr<const Relationship>& relationship, sharedptr<const LayoutItem_Field>& field, sharedptr<const LayoutGroup>& extra_layout, bool& show_all) const;
   void set_choices_related(const sharedptr<const Relationship>& relationship_name, const sharedptr<LayoutItem_Field>& field, const sharedptr<LayoutGroup>& extra_layout, bool show_all);
 
   //Just for convenience:



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