aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-30 19:52:46 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-30 19:52:46 +0800
commit5a39893c82e21a54b6156054f45f8db9c5a9802c (patch)
tree18ff2dc53326c45a92da5f199b721e6295fcaa77 /libempathy-gtk
parent47ecf4b12ab06848e3fcb685529f85df3ec3d045 (diff)
downloadgsoc2013-empathy-5a39893c82e21a54b6156054f45f8db9c5a9802c.tar
gsoc2013-empathy-5a39893c82e21a54b6156054f45f8db9c5a9802c.tar.gz
gsoc2013-empathy-5a39893c82e21a54b6156054f45f8db9c5a9802c.tar.bz2
gsoc2013-empathy-5a39893c82e21a54b6156054f45f8db9c5a9802c.tar.lz
gsoc2013-empathy-5a39893c82e21a54b6156054f45f8db9c5a9802c.tar.xz
gsoc2013-empathy-5a39893c82e21a54b6156054f45f8db9c5a9802c.tar.zst
gsoc2013-empathy-5a39893c82e21a54b6156054f45f8db9c5a9802c.zip
empathy_sound_manager_dup_singleton: add G_LIKELY
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-sound-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-sound-manager.c b/libempathy-gtk/empathy-sound-manager.c
index 008f664f2..afa27bed4 100644
--- a/libempathy-gtk/empathy-sound-manager.c
+++ b/libempathy-gtk/empathy-sound-manager.c
@@ -151,7 +151,7 @@ empathy_sound_manager_dup_singleton (void)
{
static EmpathySoundManager *manager = NULL;
- if (manager != NULL)
+ if (G_LIKELY (manager != NULL))
return g_object_ref (manager);
manager = g_object_new (EMPATHY_TYPE_SOUND_MANAGER, NULL);