diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2011-03-23 03:41:16 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2011-03-23 03:41:16 +0800 |
commit | c4bfd9ec3f2df6e38b66023d82bc6c17c8ed4348 (patch) | |
tree | a7c92e1ad60ba35778d541264a28449ec4662c57 /libempathy-gtk/empathy-account-chooser.c | |
parent | 6642163b272bd6a008e2ee412491ad23fe964321 (diff) | |
download | gsoc2013-empathy-c4bfd9ec3f2df6e38b66023d82bc6c17c8ed4348.tar gsoc2013-empathy-c4bfd9ec3f2df6e38b66023d82bc6c17c8ed4348.tar.gz gsoc2013-empathy-c4bfd9ec3f2df6e38b66023d82bc6c17c8ed4348.tar.bz2 gsoc2013-empathy-c4bfd9ec3f2df6e38b66023d82bc6c17c8ed4348.tar.lz gsoc2013-empathy-c4bfd9ec3f2df6e38b66023d82bc6c17c8ed4348.tar.xz gsoc2013-empathy-c4bfd9ec3f2df6e38b66023d82bc6c17c8ed4348.tar.zst gsoc2013-empathy-c4bfd9ec3f2df6e38b66023d82bc6c17c8ed4348.zip |
Give the FilterResultData a reference to account
This partially reverts the regression introduce in
c5220a248d7626129eadce95a606eb4157aafe71, but gives a more explicit
reference to the data structure which will hopefully make the code more
clear
Diffstat (limited to 'libempathy-gtk/empathy-account-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index 00a183059..b7eebe587 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -818,7 +818,7 @@ account_chooser_update_iter (EmpathyAccountChooser *chooser, data = g_slice_new0 (FilterResultCallbackData); data->chooser = chooser; - data->account = account; + data->account = g_object_ref (account); data->iter = g_memdup (iter, sizeof (GtkTreeIter)); if (priv->filter) |