[folks] Bug 641780 — Incorrect C function names for URLable interface



commit 034ab81aee5219d70927c9c72b7405b4bf4863c3
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Mon Feb 7 22:45:35 2011 +0000

    Bug 641780 â?? Incorrect C function names for URLable interface
    
    Rename the new URLable interface to Urlable, as Vala was choking on the
    capitalisation and producing weird C function names like
    folks_ur_lable_get_urls(). Closes: bgo#641780

 NEWS                  |    2 ++
 folks/individual.vala |    4 ++--
 folks/urlable.vala    |    2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index e4f2d23..88acd04 100644
--- a/NEWS
+++ b/NEWS
@@ -3,10 +3,12 @@ Overview of changes from libfolks 0.3.4 to libfolks 0.3.5
 
 API changes:
 * Add Tpf.Persona.is_in_contact_list
+* Rename the URLable interface to Urlable
 
 Bugs fixed:
 * Bug 640901 â?? Allow it to be determined whether a user Tpf.Persona is in the
   contact list
+* Bug 641780 â?? Incorrect C function names for URLable interface
 
 Overview of changes from libfolks 0.3.3 to libfolks 0.3.4
 =========================================================
diff --git a/folks/individual.vala b/folks/individual.vala
index 554ff8f..48aaebd 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -73,7 +73,7 @@ public class Folks.Individual : Object,
     IMable,
     NameOwner,
     Phoneable,
-    URLable
+    Urlable
 {
   private bool _is_favourite;
   private string _alias;
@@ -976,7 +976,7 @@ public class Folks.Individual : Object,
           str_hash, str_equal);
       foreach (var persona in this._persona_list)
         {
-          var urlable = persona as URLable;
+          var urlable = persona as Urlable;
           if (urlable != null)
             {
               foreach (unowned FieldDetails ps in urlable.urls)
diff --git a/folks/urlable.vala b/folks/urlable.vala
index cba5c6c..3079dfa 100644
--- a/folks/urlable.vala
+++ b/folks/urlable.vala
@@ -26,7 +26,7 @@ using GLib;
  *
  * @since 0.3.UNRELEASED
  */
-public interface Folks.URLable : Object
+public interface Folks.Urlable : Object
 {
   /**
    * The websites of the contact.



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