diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2011-05-18 21:14:05 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-05-18 21:14:40 +0800 |
commit | f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd (patch) | |
tree | 960ebea66cc9a468a9c247933605a222c250aa2e | |
parent | 809e62df3bc50be5ee22a7bf5c4e14db94cc12eb (diff) | |
download | gsoc2013-empathy-f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd.tar gsoc2013-empathy-f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd.tar.gz gsoc2013-empathy-f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd.tar.bz2 gsoc2013-empathy-f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd.tar.lz gsoc2013-empathy-f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd.tar.xz gsoc2013-empathy-f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd.tar.zst gsoc2013-empathy-f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd.zip |
chat: rename get to dup
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 2 | ||||
-rw-r--r-- | libempathy-gtk/empathy-chat.h | 2 | ||||
-rw-r--r-- | src/empathy-chat-manager.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 59f2b3c09..25203b46e 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -3923,7 +3923,7 @@ empathy_chat_get_n_messages_sending (EmpathyChat *self) } gchar * -empathy_chat_get_text (EmpathyChat *self) +empathy_chat_dup_text (EmpathyChat *self) { GtkTextBuffer *buffer; GtkTextIter start, end; diff --git a/libempathy-gtk/empathy-chat.h b/libempathy-gtk/empathy-chat.h index 0543f3661..4b0540b20 100644 --- a/libempathy-gtk/empathy-chat.h +++ b/libempathy-gtk/empathy-chat.h @@ -97,7 +97,7 @@ gboolean empathy_chat_is_composing (EmpathyChat *chat); gboolean empathy_chat_is_sms_channel (EmpathyChat *self); guint empathy_chat_get_n_messages_sending (EmpathyChat *self); -gchar * empathy_chat_get_text (EmpathyChat *self); +gchar * empathy_chat_dup_text (EmpathyChat *self); void empathy_chat_set_text (EmpathyChat *self, const gchar *text); diff --git a/src/empathy-chat-manager.c b/src/empathy-chat-manager.c index 3ffd87ba7..705d70d68 100644 --- a/src/empathy-chat-manager.c +++ b/src/empathy-chat-manager.c @@ -444,7 +444,7 @@ empathy_chat_manager_closed_chat (EmpathyChatManager *self, /* If there was a message saved from last time it was closed * (perhaps by accident?) save it to our hash table so it can be * used again when the same chat pops up. Hot. */ - message = empathy_chat_get_text (chat); + message = empathy_chat_dup_text (chat); chats = g_hash_table_lookup (priv->messages, tp_proxy_get_object_path (data->account)); |