~ubuntu-branches/ubuntu/trusty/gnome-contacts/trusty

« back to all changes in this revision

Viewing changes to src/contacts-utils.vala

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Jeremy Bicha, Michael Biebl
  • Date: 2013-09-19 18:23:06 UTC
  • mfrom: (1.3.10) (0.3.4 experimental)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: package-import@ubuntu.com-20130919182306-rcatwotzg94pr884
Tags: 3.8.3-1
[ Jeremy Bicha ]
* debian/control.in:
  - Drop alternate build-depends on valac-0.18 since it's no longer
    in Debian

[ Michael Biebl ]
* New upstream release.
* Loosen Build-Depends on libgnome-desktop-3-dev, we do not strictly require
  version (>= 3.6.0) which is not yet available in unstable.
* Bump Standards-Version to 3.9.4. No further changes.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
    }
175
175
  }
176
176
 
 
177
  /* Returns false if the given string contains at least one non-"space"
 
178
   * character.
 
179
   */
 
180
  public static bool string_is_empty (string str) {
 
181
    unichar c;
 
182
 
 
183
    for (int i = 0; str.get_next_char (ref i, out c);) {
 
184
      if (!c.isspace ())
 
185
        return false;
 
186
    }
 
187
 
 
188
    return true;
 
189
  }
 
190
 
177
191
  public static string canonicalize_for_search (string str) {
178
192
    unowned string s;
179
193
    var buf = new unichar[18];