aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat-view.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:24:19 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:24:19 +0800
commiteac8ae89de90f0162619f6bc0d103f69b842fe96 (patch)
tree16c7d8494a189ddc0155c028bbe29b369ba75158 /libempathy-gtk/empathy-chat-view.c
parentcb5022e708a8e7e38b98ffdd9357d95db90badd7 (diff)
downloadgsoc2013-empathy-eac8ae89de90f0162619f6bc0d103f69b842fe96.tar
gsoc2013-empathy-eac8ae89de90f0162619f6bc0d103f69b842fe96.tar.gz
gsoc2013-empathy-eac8ae89de90f0162619f6bc0d103f69b842fe96.tar.bz2
gsoc2013-empathy-eac8ae89de90f0162619f6bc0d103f69b842fe96.tar.lz
gsoc2013-empathy-eac8ae89de90f0162619f6bc0d103f69b842fe96.tar.xz
gsoc2013-empathy-eac8ae89de90f0162619f6bc0d103f69b842fe96.tar.zst
gsoc2013-empathy-eac8ae89de90f0162619f6bc0d103f69b842fe96.zip
Remove useless virtual methods
svn path=/trunk/; revision=1988
Diffstat (limited to 'libempathy-gtk/empathy-chat-view.c')
-rw-r--r--libempathy-gtk/empathy-chat-view.c85
1 files changed, 10 insertions, 75 deletions
diff --git a/libempathy-gtk/empathy-chat-view.c b/libempathy-gtk/empathy-chat-view.c
index 25c1721a4..23877a275 100644
--- a/libempathy-gtk/empathy-chat-view.c
+++ b/libempathy-gtk/empathy-chat-view.c
@@ -60,16 +60,6 @@ chat_view_base_init (gpointer klass)
}
void
-empathy_chat_view_scroll_down (EmpathyChatView *view)
-{
- g_return_if_fail (EMPATHY_IS_CHAT_VIEW (view));
-
- if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->scroll_down) {
- EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->scroll_down (view);
- }
-}
-
-void
empathy_chat_view_append_message (EmpathyChatView *view,
EmpathyMessage *msg)
{
@@ -105,6 +95,16 @@ empathy_chat_view_scroll (EmpathyChatView *view,
}
}
+void
+empathy_chat_view_scroll_down (EmpathyChatView *view)
+{
+ g_return_if_fail (EMPATHY_IS_CHAT_VIEW (view));
+
+ if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->scroll_down) {
+ EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->scroll_down (view);
+ }
+}
+
gboolean
empathy_chat_view_get_has_selection (EmpathyChatView *view)
{
@@ -194,68 +194,3 @@ empathy_chat_view_copy_clipboard (EmpathyChatView *view)
}
}
-EmpathyTheme *
-empathy_chat_view_get_theme (EmpathyChatView *view)
-{
- g_return_val_if_fail (EMPATHY_IS_CHAT_VIEW (view), NULL);
-
- if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_theme) {
- return EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_theme (view);
- }
- return NULL;
-}
-
-void
-empathy_chat_view_set_theme (EmpathyChatView *view, EmpathyTheme *theme)
-{
- g_return_if_fail (EMPATHY_IS_CHAT_VIEW (view));
-
- if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->set_theme) {
- EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->set_theme (view, theme);
- }
-}
-
-void
-empathy_chat_view_set_margin (EmpathyChatView *view,
- gint margin)
-{
- g_return_if_fail (EMPATHY_IS_CHAT_VIEW (view));
-
- if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->set_margin) {
- EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->set_margin (view, margin);
- }
-}
-
-time_t
-empathy_chat_view_get_last_timestamp (EmpathyChatView *view)
-{
- g_return_val_if_fail (EMPATHY_IS_CHAT_VIEW (view), 0);
-
- if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_last_timestamp) {
- return EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_last_timestamp (view);
- }
- return 0;
-}
-
-void
-empathy_chat_view_set_last_timestamp (EmpathyChatView *view,
- time_t timestamp)
-{
- g_return_if_fail (EMPATHY_IS_CHAT_VIEW (view));
-
- if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->set_last_timestamp) {
- EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->set_last_timestamp (view, timestamp);
- }
-}
-
-EmpathyContact *
-empathy_chat_view_get_last_contact (EmpathyChatView *view)
-{
- g_return_val_if_fail (EMPATHY_IS_CHAT_VIEW (view), NULL);
-
- if (EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_last_contact) {
- return EMPATHY_TYPE_CHAT_VIEW_GET_IFACE (view)->get_last_contact (view);
- }
- return NULL;
-}
-