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

« back to all changes in this revision

Viewing changes to folks/persona.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
 
/* persona.c generated by valac 0.17.3, the Vala compiler
 
1
/* persona.c generated by valac 0.17.6.5-65f99, the Vala compiler
2
2
 * generated from persona.vala, do not modify */
3
3
 
4
4
/*
73
73
typedef enum  {
74
74
        FOLKS_PROPERTY_ERROR_NOT_WRITEABLE,
75
75
        FOLKS_PROPERTY_ERROR_INVALID_VALUE,
76
 
        FOLKS_PROPERTY_ERROR_UNKNOWN_ERROR
 
76
        FOLKS_PROPERTY_ERROR_UNKNOWN_ERROR,
 
77
        FOLKS_PROPERTY_ERROR_UNAVAILABLE
77
78
} FolksPropertyError;
78
79
#define FOLKS_PROPERTY_ERROR folks_property_error_quark ()
79
80
typedef void (*FolksPersonaLinkablePropertyCallback) (const gchar* link, void* user_data);
158
159
        g_return_if_fail (obj != NULL);
159
160
        _tmp0_ = obj;
160
161
        _tmp1_ = self->priv->_iid;
161
 
        g_debug ("persona.vala:142: Individual %p has been destroyed; resetting the Indi" \
 
162
        g_debug ("persona.vala:152: Individual %p has been destroyed; resetting the Indi" \
162
163
"vidual of %s", _tmp0_, _tmp1_);
163
164
        self->priv->_individual = NULL;
164
165
        g_object_notify ((GObject*) self, "individual");
171
172
   * This is a virtual method, to be overridden by subclasses of {@link Persona}
172
173
   * who have linkable properties. Each of their linkable properties should be
173
174
   * handled by their implementation of this function, examining the current
174
 
   * value of the property and calling `callback` with one or more mapping
 
175
   * value of the property and calling ``callback`` with one or more mapping
175
176
   * strings for the property's value. Each of these mapping strings will be
176
177
   * added to the {@link IndividualAggregator}'s link map, related to the
177
178
   * {@link Individual} instance which contains this {@link Persona}.
869
870
           * The human-readable, service-specific universal ID used to represent the
870
871
           * Persona.
871
872
           *
872
 
           * For example: `foo@@xmpp.example.org`.
 
873
           * For example: ``foo@@xmpp.example.org``.
873
874
           *
874
875
           * This should be used whenever the user needs to be presented with a
875
876
           * familiar, service-specific ID. For instance, in a prompt for the user to
886
887
           * Whether the Persona is the user.
887
888
           *
888
889
           * Iff the Persona represents the user (the person who owns the account in
889
 
           * the respective backend) this is `true`.
 
890
           * the respective backend) this is ``true``.
890
891
           *
891
892
           * @since 0.3.0
892
893
           */
898
899
        /**
899
900
           * The {@link Individual} which contains this Persona.
900
901
           *
901
 
           * This may be `null`, but should only ever be so when the Persona has just
 
902
           * This may be ``null``, but should only ever be so when the Persona has just
902
903
           * been created, when its {@link PersonaStore} is being destroyed, or when
903
904
           * it's moving between {@link Individual}s.
904
905
           *