diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-09-18 06:45:03 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-09-18 06:55:31 +0800 |
commit | ea8355c99dc527d7602ce7b0c5bf3a83b2a8adaa (patch) | |
tree | 22f6b70ac71d24ee51cd567aef579ceccfa83150 /libempathy-gtk | |
parent | 362089ad2d09b2992453e567c6c39fb4bb356dbc (diff) | |
download | gsoc2013-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')
-rw-r--r-- | libempathy-gtk/empathy-presence-chooser.c | 2 |
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); |