]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-chat.c
coding style fixes
[empathy.git] / libempathy-gtk / empathy-chat.c
index 5b2cca929cde073ab2e9c74a61b15b41e26831bc..d273a3792536b161095434f2e5c31d7f4a052478 100644 (file)
@@ -161,8 +161,8 @@ struct _EmpathyChatPriv {
         * !empathy_chat_is_room (). */
        GRegex            *highlight_regex;
 
-       /* TRUE if empathy_chat_is_room() and there are unread highlighted messages.
-        * Cleared by empathy_chat_messages_read(). */
+       /* TRUE if empathy_chat_is_room () and there are unread highlighted messages.
+        * Cleared by empathy_chat_messages_read (). */
        gboolean           highlighted;
 };
 
@@ -4169,7 +4169,8 @@ empathy_chat_get_contact_menu (EmpathyChat *chat)
        if (contact == NULL)
                return NULL;
 
-       individual = empathy_create_individual_from_tp_contact (contact);
+       individual = empathy_ensure_individual_from_tp_contact (contact);
+
        if (individual == NULL)
                return NULL;