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

« back to all changes in this revision

Viewing changes to folks/birthday-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
 
/* birthday-details.c generated by valac 0.17.3, the Vala compiler
 
1
/* birthday-details.c generated by valac 0.17.6.5-65f99, the Vala compiler
2
2
 * generated from birthday-details.vala, do not modify */
3
3
 
4
4
/*
47
47
typedef enum  {
48
48
        FOLKS_PROPERTY_ERROR_NOT_WRITEABLE,
49
49
        FOLKS_PROPERTY_ERROR_INVALID_VALUE,
50
 
        FOLKS_PROPERTY_ERROR_UNKNOWN_ERROR
 
50
        FOLKS_PROPERTY_ERROR_UNKNOWN_ERROR,
 
51
        FOLKS_PROPERTY_ERROR_UNAVAILABLE
51
52
} FolksPropertyError;
52
53
#define FOLKS_PROPERTY_ERROR folks_property_error_quark ()
53
54
struct _FolksBirthdayDetailsIface {
137
138
        _data_->self = _tmp0_;
138
139
        _tmp1_ = birthday;
139
140
        _tmp2_ = _g_date_time_ref0 (_tmp1_);
 
141
        _g_date_time_unref0 (_data_->birthday);
140
142
        _data_->birthday = _tmp2_;
141
143
        folks_birthday_details_real_change_birthday_co (_data_);
142
144
}
159
161
   * notification and will only return once the birthday has been written to the
160
162
   * relevant backing store (or the operation's failed).
161
163
   *
162
 
   * @param birthday the new birthday (or `null` to unset the birthday)
 
164
   * @param birthday the new birthday (or ``null`` to unset the birthday)
163
165
   * @throws PropertyError if setting the birthday failed
164
166
   * @since 0.6.2
165
167
   */
231
233
        _data_->self = _tmp0_;
232
234
        _tmp1_ = event_id;
233
235
        _tmp2_ = g_strdup (_tmp1_);
 
236
        _g_free0 (_data_->event_id);
234
237
        _data_->event_id = _tmp2_;
235
238
        folks_birthday_details_real_change_calendar_event_id_co (_data_);
236
239
}
253
256
   * error notification and will only return once the event has been written to
254
257
   * the relevant backing store (or the operation's failed).
255
258
   *
256
 
   * @param event_id the new birthday event ID (or `null` to unset the event ID)
 
259
   * @param event_id the new birthday event ID (or ``null`` to unset the event
 
260
   * ID)
257
261
   * @throws PropertyError if setting the birthday event ID failed
258
262
   * @since 0.6.2
259
263
   */
336
340
                   * The birthday of the {@link Persona} and {@link Individual}. This
337
341
                   * is assumed to be in UTC.
338
342
                   *
339
 
                   * If this is `null`, the contact's birthday isn't known.
 
343
                   * If this is ``null``, the contact's birthday isn't known.
340
344
                   *
341
345
                   * @since 0.4.0
342
346
                   */
344
348
                /**
345
349
                   * The event ID of the birthday event from the source calendar.
346
350
                   *
347
 
                   * If this is `null`, the birthday event is unknown.
 
351
                   * If this is ``null``, the birthday event is unknown. The semantics of the
 
352
                   * event ID are left unspecified by folks.
348
353
                   *
349
354
                   * @since 0.4.0
350
355
                   */
358
363
 
359
364
 
360
365
/**
361
 
 * This interface contains the birth date of a {@link Persona} and
362
 
 * {@link Individual}
 
366
 * Birthday details for a contact.
 
367
 *
 
368
 * This allows representation of the birth date and associated calendar event ID
 
369
 * of a contact.
363
370
 *
364
371
 * @since 0.4.0
365
372
 */