]> git.0d.be Git - empathy.git/commitdiff
empathy_sound_manager_dup_singleton: add G_LIKELY
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 30 Nov 2010 11:52:46 +0000 (12:52 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 30 Nov 2010 11:52:46 +0000 (12:52 +0100)
libempathy-gtk/empathy-sound-manager.c

index 008f664f238f5c46eb840b82d110d83bb1822d1a..afa27bed43ca9209a0f39f63692069f6d3b616e0 100644 (file)
@@ -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);