[gnome-contacts] build: replaced locally wrapper GLib function



commit 7ebaf38ec4bd8f943e71cb37b6ae58ca4aec433b
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Wed Apr 2 16:07:00 2014 -0400

    build: replaced locally wrapper GLib function

 src/contacts-utils.vala |    2 +-
 vapi/custom.vapi        |    6 ------
 2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/contacts-utils.vala b/src/contacts-utils.vala
index 0020649..defb81d 100644
--- a/src/contacts-utils.vala
+++ b/src/contacts-utils.vala
@@ -205,7 +205,7 @@ public class Contacts.Utils : Object {
     for (s = str; s[0] != 0; s = s.next_char ()) {
       var c = strip_char (s.get_char ());
       if (c != 0) {
-       var size = LocalGLib.fully_decompose (c, false, buf);
+       var size = c.fully_decompose (false, buf);
        if (size > 0)
          res.append_unichar (buf[0]);
       }
diff --git a/vapi/custom.vapi b/vapi/custom.vapi
index d4a920e..222d1db 100644
--- a/vapi/custom.vapi
+++ b/vapi/custom.vapi
@@ -17,12 +17,6 @@ namespace Gnome {
        }
 }
 
-[CCode (cprefix = "G", lower_case_cprefix = "g_", cheader_filename = "glib.h", gir_namespace = "GLib", 
gir_version = "2.0")]
-namespace LocalGLib {
-       [CCode (cname = "g_unichar_fully_decompose", cheader_filename = "glib.h")]
-       public static unowned size_t fully_decompose (unichar ch, bool compat, unichar[] result);
-}
-
 [CCode (cprefix = "Contacts", lower_case_cprefix = "contacts_", cheader_filename = "contacts-esd-setup.h")]
 namespace Contacts {
        [CCode (cname = "contacts_ensure_eds_accounts")]


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