]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-individual-store-channel.c
remove released flag
[empathy.git] / libempathy-gtk / empathy-individual-store-channel.c
index eb0f3f5930b809585f68915decce16d59e0dac2b..a18bc33de3e72b0da26d3683af87f753f2c1bad6 100644 (file)
@@ -70,7 +70,7 @@ add_members (EmpathyIndividualStoreChannel *self,
       if (g_hash_table_lookup (self->priv->individuals, contact) != NULL)
         continue;
 
-      individual = empathy_create_individual_from_tp_contact (contact);
+      individual = empathy_ensure_individual_from_tp_contact (contact);
       if (individual == NULL)
         return;
 
@@ -171,6 +171,9 @@ individual_store_channel_contact_chat_state_changed (TpTextChannel *channel,
     {
        pixbuf = empathy_individual_store_get_individual_status_icon (
            EMPATHY_INDIVIDUAL_STORE (self), individual);
+
+       /* Take a ref as the 'if' blocks creates a new pixbuf */
+       g_object_ref (pixbuf);
     }
 
   for (l = iters; l != NULL; l = l->next)