aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/gossip-presence-chooser.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2007-05-13 02:04:01 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-05-13 02:04:01 +0800
commit321de615c0d7aaecf7f87b31fae65b5b75f0e32e (patch)
tree25d012f82bb5b54e5e06a0b51de1722314c67f2a /libempathy-gtk/gossip-presence-chooser.c
parent104362fe34c3881f6956844de2a0403f0ea1b3d0 (diff)
downloadgsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar
gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.gz
gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.bz2
gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.lz
gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.xz
gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.tar.zst
gsoc2013-empathy-321de615c0d7aaecf7f87b31fae65b5b75f0e32e.zip
[darcs-to-svn @ gossip_mission_control_new() returns a MissionControl sigleton object and update throbber state when there is connecting accounts]
svn path=/trunk/; revision=47
Diffstat (limited to 'libempathy-gtk/gossip-presence-chooser.c')
-rw-r--r--libempathy-gtk/gossip-presence-chooser.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libempathy-gtk/gossip-presence-chooser.c b/libempathy-gtk/gossip-presence-chooser.c
index 556bcf137..e92de9efa 100644
--- a/libempathy-gtk/gossip-presence-chooser.c
+++ b/libempathy-gtk/gossip-presence-chooser.c
@@ -30,7 +30,6 @@
#include <gtk/gtk.h>
#include <glade/glade.h>
-#include <libtelepathy/tp-helpers.h>
#include <libmissioncontrol/mission-control.h>
#include <libempathy/gossip-utils.h>
@@ -202,7 +201,7 @@ gossip_presence_chooser_init (GossipPresenceChooser *chooser)
G_CALLBACK (presence_chooser_scroll_event_cb),
NULL);
- priv->mc = mission_control_new (tp_get_bus ());
+ priv->mc = gossip_mission_control_new ();
state = mission_control_get_presence_actual (priv->mc, NULL);
presence_chooser_presence_changed_cb (priv->mc, state, chooser);
dbus_g_proxy_connect_signal (DBUS_G_PROXY (priv->mc),
@@ -869,7 +868,7 @@ presence_chooser_set_state (McPresence state,
gossip_debug (DEBUG_DOMAIN, "Setting presence to %s (%d)",
status, state);
- mc = mission_control_new (tp_get_bus ());
+ mc = gossip_mission_control_new ();
mission_control_set_presence (mc, state, status, NULL, NULL);
g_object_unref (mc);
}