[california] Properly unbind property: Bug #734487



commit 53002ff4bb71caa374263f4a073f7a463cce630b
Author: Bernhard Schuster <schuster bernhard gmail com>
Date:   Fri Aug 8 16:50:49 2014 +0200

    Properly unbind property: Bug #734487
    
    Use BaseObject.unbind_property() until Vala 0.26 is minimum, where
    Binding.unbind() is bound.

 THANKS                                             |    1 +
 .../toolkit-entry-clear-text-connector.vala        |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/THANKS b/THANKS
index 6c265ed..af3bebd 100644
--- a/THANKS
+++ b/THANKS
@@ -3,4 +3,5 @@ The California team would like to thank the following contributors:
 Yosef Or Boczko <yoseforb gmail com>
 Pierre-Yves Luyten <py luyten fr>
 Samer Masterson <samer samertm com>
+Bernhard Schuster <schuster bernhard gmail com>
 
diff --git a/src/toolkit/toolkit-entry-clear-text-connector.vala 
b/src/toolkit/toolkit-entry-clear-text-connector.vala
index da881ee..7e2ba29 100644
--- a/src/toolkit/toolkit-entry-clear-text-connector.vala
+++ b/src/toolkit/toolkit-entry-clear-text-connector.vala
@@ -36,8 +36,8 @@ public class EntryClearTextConnector : BaseObject {
         Binding binding;
         if (!entries.unset(entry, out binding))
             return;
-        
-        binding.unbind();
+
+        California.BaseObject.unbind_property(ref binding);
         entry.icon_release.disconnect(on_entry_icon_released);
     }
     


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