diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-25 18:52:14 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-25 18:52:14 +0800 |
commit | cf9db498487ea9b2bfb3f9f748125f9b9cc9b931 (patch) | |
tree | 1061140d78b0c62b2f1d1ed9f46a31bdf2424f96 /libempathy-gtk/empathy-chat.c | |
parent | 50efb94e69a9cccebb7475f1977e7eb1f749f362 (diff) | |
download | gsoc2013-empathy-cf9db498487ea9b2bfb3f9f748125f9b9cc9b931.tar gsoc2013-empathy-cf9db498487ea9b2bfb3f9f748125f9b9cc9b931.tar.gz gsoc2013-empathy-cf9db498487ea9b2bfb3f9f748125f9b9cc9b931.tar.bz2 gsoc2013-empathy-cf9db498487ea9b2bfb3f9f748125f9b9cc9b931.tar.lz gsoc2013-empathy-cf9db498487ea9b2bfb3f9f748125f9b9cc9b931.tar.xz gsoc2013-empathy-cf9db498487ea9b2bfb3f9f748125f9b9cc9b931.tar.zst gsoc2013-empathy-cf9db498487ea9b2bfb3f9f748125f9b9cc9b931.zip |
Do not give a struct as a parameter by value. (Alban Crequy).
svn path=/trunk/; revision=1047
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 22b6f46bb..a432a2a76 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -978,8 +978,8 @@ chat_text_check_word_spelling_cb (GtkMenuItem *menuitem, EmpathyChatSpell *chat_spell) { empathy_spell_dialog_show (chat_spell->chat, - chat_spell->start, - chat_spell->end, + &chat_spell->start, + &chat_spell->end, chat_spell->word); } @@ -1794,8 +1794,8 @@ empathy_chat_paste (EmpathyChat *chat) void empathy_chat_correct_word (EmpathyChat *chat, - GtkTextIter start, - GtkTextIter end, + GtkTextIter *start, + GtkTextIter *end, const gchar *new_word) { GtkTextBuffer *buffer; @@ -1805,8 +1805,8 @@ empathy_chat_correct_word (EmpathyChat *chat, buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (chat->input_text_view)); - gtk_text_buffer_delete (buffer, &start, &end); - gtk_text_buffer_insert (buffer, &start, + gtk_text_buffer_delete (buffer, start, end); + gtk_text_buffer_insert (buffer, start, new_word, -1); } |