~ubuntu-branches/ubuntu/quantal/folks/quantal

« back to all changes in this revision

Viewing changes to folks/phone-details.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-12 09:48:10 UTC
  • mfrom: (1.6.2)
  • Revision ID: package-import@ubuntu.com-20120912094810-6zlx8889hcovxj7p
Tags: 0.7.4.1-0ubuntu1
* New upstream bugfix release
* debian/control:
  - Bump build-depends on libglib2.0-dev, valac-0.18, libvala-0.18-dev
* debian/libfolks-eds25.symbols:
* debian/libfolks25.symbols:
  - Updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* phone-details.c generated by valac 0.17.3, the Vala compiler
 
1
/* phone-details.c generated by valac 0.17.6.5-65f99, the Vala compiler
2
2
 * generated from phone-details.vala, do not modify */
3
3
 
4
4
/*
101
101
typedef enum  {
102
102
        FOLKS_PROPERTY_ERROR_NOT_WRITEABLE,
103
103
        FOLKS_PROPERTY_ERROR_INVALID_VALUE,
104
 
        FOLKS_PROPERTY_ERROR_UNKNOWN_ERROR
 
104
        FOLKS_PROPERTY_ERROR_UNKNOWN_ERROR,
 
105
        FOLKS_PROPERTY_ERROR_UNAVAILABLE
105
106
} FolksPropertyError;
106
107
#define FOLKS_PROPERTY_ERROR folks_property_error_quark ()
107
108
struct _FolksPhoneDetailsIface {
173
174
   * @param value the value of the field, which should be a non-empty phone
174
175
   * number (no particular format is mandated)
175
176
   * @param parameters initial parameters. See
176
 
   * {@link AbstractFieldDetails.parameters}. A `null` value is equivalent to a
177
 
   * empty map of parameters.
 
177
   * {@link AbstractFieldDetails.parameters}. A ``null`` value is equivalent to
 
178
   * an empty map of parameters.
178
179
   *
179
180
   * @return a new PhoneFieldDetails
180
181
   *
449
450
   *
450
451
   * Typical normalisations:
451
452
   *
452
 
   *  - `1-800-123-4567` → `18001234567`
453
 
   *  - `+1-800-123-4567` → `18001234567`
454
 
   *  - `+1-800-123-4567P123` → `18001234567P123`
 
453
   *  - ``1-800-123-4567`` → ``18001234567``
 
454
   *  - ``+1-800-123-4567`` → ``18001234567``
 
455
   *  - ``+1-800-123-4567P123`` → ``18001234567P123``
455
456
   *
456
 
   * @return the normalised form of `number`
 
457
   * @return the normalised form of ``number``
457
458
   *
458
459
   * @since 0.6.0
459
460
   */
817
818
        _data_->self = _tmp0_;
818
819
        _tmp1_ = phone_numbers;
819
820
        _tmp2_ = _g_object_ref0 (_tmp1_);
 
821
        _g_object_unref0 (_data_->phone_numbers);
820
822
        _data_->phone_numbers = _tmp2_;
821
823
        folks_phone_details_real_change_phone_numbers_co (_data_);
822
824
}