[glade] * gladeui/glade-editor-property.c: Fixed glade_editor_property_commit() to use glade_editor_prop



commit 0a3d0062810d1ab14f6d17052b137623b5041dc0
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Mon Mar 7 16:29:22 2011 +0900

    	* gladeui/glade-editor-property.c: Fixed glade_editor_property_commit() to
    	  use glade_editor_property_load() instead of the vfunc directly.

 ChangeLog                       |    3 +++
 gladeui/glade-editor-property.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index eac2832..b2658aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
 	* gladeui/glade-editable.[ch]: Added glade_editable_loaded_widget().
 
+	* gladeui/glade-editor-property.c: Fixed glade_editor_property_commit() to
+	  use glade_editor_property_load() instead of the vfunc directly.
+
 2011-03-06  Christopher Aillon <caillon redhat com>
 
 	* data/icons/hicolor/*/apps/glade-3.{png,svg,xcf}:
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
index e16ea32..b4d75e2 100644
--- a/gladeui/glade-editor-property.c
+++ b/gladeui/glade-editor-property.c
@@ -124,7 +124,7 @@ glade_editor_property_commit_common (GladeEditorProperty * eprop,
    * reload the real value.
    */
   if (glade_property_equals_value (eprop->priv->property, value))
-    GLADE_EDITOR_PROPERTY_GET_CLASS (eprop)->load (eprop, eprop->priv->property);
+    glade_editor_property_load (eprop, eprop->priv->property);
   else
     /* publish a value change to those interested */
     g_signal_emit (G_OBJECT (eprop), glade_eprop_signals[CHANGED], 0,



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