]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact.h
empathy_avatar_new: stop stealing strings (#650939)
[empathy.git] / libempathy / empathy-contact.h
index 16b50e500c4907472cb114b5dcde189e26413129..b32971a3faf41de92c0430ed490549b065c6c37e 100644 (file)
@@ -117,10 +117,10 @@ gboolean empathy_contact_can_do_action (EmpathyContact *self,
 
 #define EMPATHY_TYPE_AVATAR (empathy_avatar_get_type ())
 GType empathy_avatar_get_type (void) G_GNUC_CONST;
-EmpathyAvatar * empathy_avatar_new (guchar *data,
+EmpathyAvatar * empathy_avatar_new (const guchar *data,
     gsize len,
-    gchar *format,
-    gchar *filename);
+    const gchar *format,
+    const gchar *filename);
 EmpathyAvatar * empathy_avatar_ref (EmpathyAvatar *avatar);
 void empathy_avatar_unref (EmpathyAvatar *avatar);