aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-camera-menu.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-15 18:33:25 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-15 20:03:28 +0800
commit9a592ec3ab386ef2f959fb9737ab85c760c03324 (patch)
treec4c25eab1c2718852de9b0a09d2c689b8470d298 /src/empathy-camera-menu.c
parent624bbe7ac793e34aa9b0db0122b973eadd218770 (diff)
downloadgsoc2013-empathy-9a592ec3ab386ef2f959fb9737ab85c760c03324.tar
gsoc2013-empathy-9a592ec3ab386ef2f959fb9737ab85c760c03324.tar.gz
gsoc2013-empathy-9a592ec3ab386ef2f959fb9737ab85c760c03324.tar.bz2
gsoc2013-empathy-9a592ec3ab386ef2f959fb9737ab85c760c03324.tar.lz
gsoc2013-empathy-9a592ec3ab386ef2f959fb9737ab85c760c03324.tar.xz
gsoc2013-empathy-9a592ec3ab386ef2f959fb9737ab85c760c03324.tar.zst
gsoc2013-empathy-9a592ec3ab386ef2f959fb9737ab85c760c03324.zip
CameraMenu: use empathy_camera_monitor_new()
We want to get a new object so that we get ::added upon construction for all the cameras. With _dup_singleton() we may get an existing object, which would have already fired the initial set of ::added signals.
Diffstat (limited to 'src/empathy-camera-menu.c')
-rw-r--r--src/empathy-camera-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-camera-menu.c b/src/empathy-camera-menu.c
index 9cbb9d439..b38cc5f1d 100644
--- a/src/empathy-camera-menu.c
+++ b/src/empathy-camera-menu.c
@@ -329,7 +329,7 @@ empathy_camera_menu_constructed (GObject *obj)
self->priv->anchor_action);
g_object_unref (self->priv->anchor_action);
- self->priv->camera_monitor = empathy_camera_monitor_dup_singleton ();
+ self->priv->camera_monitor = empathy_camera_monitor_new ();
tp_g_signal_connect_object (self->priv->camera_monitor, "added",
G_CALLBACK (empathy_camera_menu_camera_added_cb), self, 0);