aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-26 17:10:06 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-06-01 17:58:09 +0800
commit7625bd2ae11f2c3064e3e208ea82fffa97dc7f18 (patch)
treea712a30e71d5f2fd97f4047a35f8078f5b4ecb9e /libempathy/empathy-contact.h
parentba731f3dceb447ffe8c4b9e168ad1c1a5f99f365 (diff)
downloadgsoc2013-empathy-7625bd2ae11f2c3064e3e208ea82fffa97dc7f18.tar
gsoc2013-empathy-7625bd2ae11f2c3064e3e208ea82fffa97dc7f18.tar.gz
gsoc2013-empathy-7625bd2ae11f2c3064e3e208ea82fffa97dc7f18.tar.bz2
gsoc2013-empathy-7625bd2ae11f2c3064e3e208ea82fffa97dc7f18.tar.lz
gsoc2013-empathy-7625bd2ae11f2c3064e3e208ea82fffa97dc7f18.tar.xz
gsoc2013-empathy-7625bd2ae11f2c3064e3e208ea82fffa97dc7f18.tar.zst
gsoc2013-empathy-7625bd2ae11f2c3064e3e208ea82fffa97dc7f18.zip
empathy_avatar_new: stop stealing strings (#650939)
It was pretty confusing when reading/reviewing code.
Diffstat (limited to 'libempathy/empathy-contact.h')
-rw-r--r--libempathy/empathy-contact.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h
index 16b50e500..b32971a3f 100644
--- a/libempathy/empathy-contact.h
+++ b/libempathy/empathy-contact.h
@@ -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);