aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat-view.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:23:59 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:23:59 +0800
commit6bc52fff8a6d0b0a2f40fb707d1e423ce64249a3 (patch)
treea28fee7adb1fc6e8da6a37db74a9e02e3681e412 /libempathy-gtk/empathy-chat-view.c
parente8032530b2520ad3c700c404f2822bd406100552 (diff)
downloadgsoc2013-empathy-6bc52fff8a6d0b0a2f40fb707d1e423ce64249a3.tar
gsoc2013-empathy-6bc52fff8a6d0b0a2f40fb707d1e423ce64249a3.tar.gz
gsoc2013-empathy-6bc52fff8a6d0b0a2f40fb707d1e423ce64249a3.tar.bz2
gsoc2013-empathy-6bc52fff8a6d0b0a2f40fb707d1e423ce64249a3.tar.lz
gsoc2013-empathy-6bc52fff8a6d0b0a2f40fb707d1e423ce64249a3.tar.xz
gsoc2013-empathy-6bc52fff8a6d0b0a2f40fb707d1e423ce64249a3.tar.zst
gsoc2013-empathy-6bc52fff8a6d0b0a2f40fb707d1e423ce64249a3.zip
Replace _get_selection_bounds by _get_has_selection
svn path=/trunk/; revision=1984
Diffstat (limited to 'libempathy-gtk/empathy-chat-view.c')
-rw-r--r--libempathy-gtk/empathy-chat-view.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/libempathy-gtk/empathy-chat-view.c b/libempathy-gtk/empathy-chat-view.c
index dbf9cafcb..bb0db85e1 100644
--- a/libempathy-gtk/empathy-chat-view.c
+++ b/libempathy-gtk/empathy-chat-view.c
@@ -106,16 +106,12 @@ empathy_chat_view_scroll (EmpathyChatView *view,
}
gboolean
-empathy_chat_view_get_selection_bounds (EmpathyChatView *view,
- GtkTextIter *start,
- GtkTextIter *end)
+empathy_chat_view_get_has_selection (EmpathyChatView *view)
{
g_return_val_if_fail (EMPATHY_IS_CHAT_VIEW (view), FALSE);
- if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_selection_bounds) {
- return EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_selection_bounds (view,
- start,
- end);
+ if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_has_selection) {
+ return EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_has_selection (view);
}
return FALSE;
}