[empathy: 3/7] chat: rename get to dup
- From: Jonny Lamb <jonnylamb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 3/7] chat: rename get to dup
- Date: Wed, 18 May 2011 13:26:27 +0000 (UTC)
commit f5d7d6d3a1d7a09e9e3c0cbf013a8456d33537dd
Author: Jonny Lamb <jonnylamb gnome org>
Date: Wed May 18 14:14:05 2011 +0100
chat: rename get to dup
Signed-off-by: Jonny Lamb <jonnylamb gnome org>
libempathy-gtk/empathy-chat.c | 2 +-
libempathy-gtk/empathy-chat.h | 2 +-
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 59f2b3c..25203b4 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 0543f36..4b0540b 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 3ffd87b..705d70d 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]