diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-11 23:25:44 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-11 23:25:44 +0800 |
commit | c0237abded41bde3f50d0434de3475e6a140a7b7 (patch) | |
tree | 9b1122a0738d6ac6ac9d7ac54420270205a38101 /libempathy | |
parent | 39c6d0512e3605aaafb1285d1f3627e3f92ec104 (diff) | |
download | gsoc2013-empathy-c0237abded41bde3f50d0434de3475e6a140a7b7.tar gsoc2013-empathy-c0237abded41bde3f50d0434de3475e6a140a7b7.tar.gz gsoc2013-empathy-c0237abded41bde3f50d0434de3475e6a140a7b7.tar.bz2 gsoc2013-empathy-c0237abded41bde3f50d0434de3475e6a140a7b7.tar.lz gsoc2013-empathy-c0237abded41bde3f50d0434de3475e6a140a7b7.tar.xz gsoc2013-empathy-c0237abded41bde3f50d0434de3475e6a140a7b7.tar.zst gsoc2013-empathy-c0237abded41bde3f50d0434de3475e6a140a7b7.zip |
EmpathyTpContactFactoryPriv: add fields for avatar requirements
svn path=/trunk/; revision=1670
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-contact-factory.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c index 9045a5961..b8e2ca37e 100644 --- a/libempathy/empathy-tp-contact-factory.c +++ b/libempathy/empathy-tp-contact-factory.c @@ -43,6 +43,13 @@ typedef struct { GList *contacts; EmpathyContact *user; gpointer token; + + const gchar **avatar_mime_types; + guint avatar_min_width; + guint avatar_min_height; + guint avatar_max_width; + guint avatar_max_height; + guint avatar_max_size; } EmpathyTpContactFactoryPriv; G_DEFINE_TYPE (EmpathyTpContactFactory, empathy_tp_contact_factory, G_TYPE_OBJECT); @@ -1213,6 +1220,8 @@ tp_contact_factory_finalize (GObject *object) g_object_unref (priv->connection); } + g_strfreev (priv->avatar_mime_types); + G_OBJECT_CLASS (empathy_tp_contact_factory_parent_class)->finalize (object); } |