]> git.0d.be Git - empathy.git/commitdiff
EmpathyTpContactFactoryPriv: add fields for avatar requirements
authorXavier Claessens <xclaesse@src.gnome.org>
Tue, 11 Nov 2008 15:25:44 +0000 (15:25 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 11 Nov 2008 15:25:44 +0000 (15:25 +0000)
svn path=/trunk/; revision=1670

libempathy/empathy-tp-contact-factory.c

index 9045a596160aa148839431c1ec5eadd0411e4107..b8e2ca37efd1fcac18f93be57ee2d1e4bc7edab8 100644 (file)
@@ -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);
 }