[glade/gbinding: 40/60] Rename internal function glade_project_fix_object_props() to just glade_project_fix_props()



commit 7e1ecbe25e1100960383b29059a530e1eecec768
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 a3c04eb..8044226 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -1042,7 +1042,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;
@@ -1658,10 +1658,11 @@ glade_project_load_internal (GladeProject *project)
   if (glade_util_file_is_writeable (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);
 
   /* Emit "parse-finished" signal */
   g_signal_emit (project, glade_project_signals[PARSE_FINISHED], 0);



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