aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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__ */