aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-presence-chooser.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-09-18 06:45:03 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-09-18 06:55:31 +0800
commitea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa (patch)
tree22f6b70ac71d24ee51cd567aef579ceccfa83150 /libempathy-gtk/empathy-presence-chooser.c
parent362089ad2d09b2992453e567c6c39fb4bb356dbc (diff)
downloadgsoc2013-empathy-ea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa.tar
gsoc2013-empathy-ea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa.tar.gz
gsoc2013-empathy-ea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa.tar.bz2
gsoc2013-empathy-ea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa.tar.lz
gsoc2013-empathy-ea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa.tar.xz
gsoc2013-empathy-ea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa.tar.zst
gsoc2013-empathy-ea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa.zip
presence-chooser: only listen to EmpathyIdle::notify::state
Previously, when the global presence changed in EmpathyIdle, it would notify for "state" and "status", so the state change callback would be called twice. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk/empathy-presence-chooser.c')
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index ba36e091c..373b851d5 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -785,7 +785,7 @@ empathy_presence_chooser_init (EmpathyPresenceChooser *chooser)
priv->idle = empathy_idle_dup_singleton ();
presence_chooser_presence_changed_cb (chooser);
- g_signal_connect_swapped (priv->idle, "notify",
+ g_signal_connect_swapped (priv->idle, "notify::state",
G_CALLBACK (presence_chooser_presence_changed_cb),
chooser);