aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-09 19:52:28 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-12 17:20:51 +0800
commitcd734c192518f165b8af0247e6dc8f7398e7d063 (patch)
tree9dd9186526d05ff38559955492f942298cf806fd
parentd64ff737b787f2dd431d017739f1bf80a916554f (diff)
downloadgsoc2013-empathy-cd734c192518f165b8af0247e6dc8f7398e7d063.tar
gsoc2013-empathy-cd734c192518f165b8af0247e6dc8f7398e7d063.tar.gz
gsoc2013-empathy-cd734c192518f165b8af0247e6dc8f7398e7d063.tar.bz2
gsoc2013-empathy-cd734c192518f165b8af0247e6dc8f7398e7d063.tar.lz
gsoc2013-empathy-cd734c192518f165b8af0247e6dc8f7398e7d063.tar.xz
gsoc2013-empathy-cd734c192518f165b8af0247e6dc8f7398e7d063.tar.zst
gsoc2013-empathy-cd734c192518f165b8af0247e6dc8f7398e7d063.zip
add empathy_avatar_chooser_set_connection
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c7
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index 9c79eb852..1c5ff7b5e 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -1072,3 +1072,10 @@ empathy_avatar_chooser_get_image_data (EmpathyAvatarChooser *chooser,
}
}
+void
+empathy_avatar_chooser_set_connection (EmpathyAvatarChooser *self,
+ TpConnection *connection)
+{
+ avatar_chooser_set_connection (self, connection);
+ g_object_notify (G_OBJECT (self), "connection");
+}
diff --git a/libempathy-gtk/empathy-avatar-chooser.h b/libempathy-gtk/empathy-avatar-chooser.h
index 1a5023047..84773574e 100644
--- a/libempathy-gtk/empathy-avatar-chooser.h
+++ b/libempathy-gtk/empathy-avatar-chooser.h
@@ -59,4 +59,7 @@ void empathy_avatar_chooser_get_image_data (EmpathyAvatarChooser *chooser,
gsize *data_size,
const gchar **mime_type);
+void empathy_avatar_chooser_set_connection (EmpathyAvatarChooser *self,
+ TpConnection *connection);
+
#endif /* __EMPATHY_AVATAR_CHOOSER_H__ */