[glade/gbinding: 5/6] Rename internal function glade_project_fix_object_props() to just glade_project_fix_props()



commit 3158dea47873e7dd5ed82b4f1b85c9f37840171e
Author: Denis Washington <denisw src gnome org>
Date:   Sat Jul 23 12:50:53 2011 +0200

    Rename internal function glade_project_fix_object_props() to just glade_project_fix_props()
    
    As the function now also "fixes" bound properties, this is a more accurate name.

 gladeui/glade-project.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gladeui/glade-project.c b/gladeui/glade-project.c
index 9f7d8be..e750d44 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -1021,7 +1021,7 @@ glade_project_new (void)
  * properties
  */
 static void
-glade_project_fix_object_props (GladeProject *project)
+glade_project_fix_props (GladeProject *project)
 {
   GList *l, *ll, *objects;
   GValue *value;
@@ -1542,10 +1542,11 @@ glade_project_load_internal (GladeProject *project)
   if (glade_util_file_is_writeable (project->priv->path) == FALSE)
     glade_project_set_readonly (project, TRUE);
 
-  /* Now we have to loop over all the object properties
-   * and fix'em all ('cause they probably weren't found)
+  /* Now we have to loop over all the object and bound properties
+   * and fix'em all ('cause the object they referred to  probably
+   * weren't found)
    */
-  glade_project_fix_object_props (project);
+  glade_project_fix_props (project);
 
   /* Reset project status here too so that you get a clean
    * slate after calling glade_project_open().



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