aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-spell-dialog.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-25 18:52:14 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-25 18:52:14 +0800
commitcf9db498487ea9b2bfb3f9f748125f9b9cc9b931 (patch)
tree1061140d78b0c62b2f1d1ed9f46a31bdf2424f96 /libempathy-gtk/empathy-spell-dialog.c
parent50efb94e69a9cccebb7475f1977e7eb1f749f362 (diff)
downloadgsoc2013-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-spell-dialog.c')
-rw-r--r--libempathy-gtk/empathy-spell-dialog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-spell-dialog.c b/libempathy-gtk/empathy-spell-dialog.c
index d7701d19c..19531cf76 100644
--- a/libempathy-gtk/empathy-spell-dialog.c
+++ b/libempathy-gtk/empathy-spell-dialog.c
@@ -208,8 +208,8 @@ spell_dialog_response_cb (GtkWidget *widget,
gtk_tree_model_get (model, &iter, COL_SPELL_WORD, &new_word, -1);
empathy_chat_correct_word (dialog->chat,
- dialog->start,
- dialog->end,
+ &dialog->start,
+ &dialog->end,
new_word);
g_free (new_word);
@@ -220,8 +220,8 @@ spell_dialog_response_cb (GtkWidget *widget,
void
empathy_spell_dialog_show (EmpathyChat *chat,
- GtkTextIter start,
- GtkTextIter end,
+ GtkTextIter *start,
+ GtkTextIter *end,
const gchar *word)
{
EmpathySpellDialog *dialog;
@@ -238,8 +238,8 @@ empathy_spell_dialog_show (EmpathyChat *chat,
dialog->word = g_strdup (word);
- dialog->start = start;
- dialog->end = end;
+ dialog->start = *start;
+ dialog->end = *end;
filename = empathy_file_lookup ("empathy-spell-dialog.glade",
"libempathy-gtk");