aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat-view.c
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-05-18 10:52:29 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-06-12 14:56:47 +0800
commita4e44071b6bf128f4150a19e5b60975cae9218b2 (patch)
tree415e4d789fe7199529d0ae99c037137cea9b8e5f /libempathy-gtk/empathy-chat-view.c
parent44edc9fc835feaa279b5c20269a07aecff9e38cc (diff)
downloadgsoc2013-empathy-a4e44071b6bf128f4150a19e5b60975cae9218b2.tar
gsoc2013-empathy-a4e44071b6bf128f4150a19e5b60975cae9218b2.tar.gz
gsoc2013-empathy-a4e44071b6bf128f4150a19e5b60975cae9218b2.tar.bz2
gsoc2013-empathy-a4e44071b6bf128f4150a19e5b60975cae9218b2.tar.lz
gsoc2013-empathy-a4e44071b6bf128f4150a19e5b60975cae9218b2.tar.xz
gsoc2013-empathy-a4e44071b6bf128f4150a19e5b60975cae9218b2.tar.zst
gsoc2013-empathy-a4e44071b6bf128f4150a19e5b60975cae9218b2.zip
Add edit_message() method to ChatView iface
Diffstat (limited to 'libempathy-gtk/empathy-chat-view.c')
-rw-r--r--libempathy-gtk/empathy-chat-view.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat-view.c b/libempathy-gtk/empathy-chat-view.c
index 43d89dd78..49c384489 100644
--- a/libempathy-gtk/empathy-chat-view.c
+++ b/libempathy-gtk/empathy-chat-view.c
@@ -84,6 +84,18 @@ empathy_chat_view_append_event (EmpathyChatView *view,
}
void
+empathy_chat_view_edit_message (EmpathyChatView *view,
+ EmpathyMessage *message)
+{
+ g_return_if_fail (EMPATHY_IS_CHAT_VIEW (view));
+
+ if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->edit_message) {
+ EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->edit_message (
+ view, message);
+ }
+}
+
+void
empathy_chat_view_scroll (EmpathyChatView *view,
gboolean allow_scrolling)
{