]> git.0d.be Git - empathy.git/blobdiff - src/empathy-event-manager.c
event_manager_approve_channel_cb: empathy_tp_chat_get_account doesn't ref the object
[empathy.git] / src / empathy-event-manager.c
index 8ad5b0495e4c8238134212b80ed872e7fa59aaab..ef9248647d6fd3bb234c094c3a4625446c77f211 100644 (file)
@@ -737,7 +737,7 @@ event_manager_muc_invite_got_contact_name_cb (EmpathyContact *contact,
   tp_channel_group_get_local_pending_info (channel, self_handle, NULL, NULL,
       &invite_msg);
 
-  msg = g_strdup_printf ("%s invited you to join %s",
+  msg = g_strdup_printf (_("%s invited you to join %s"),
       empathy_contact_get_name (approval->contact),
       tp_channel_get_identifier (channel));
 
@@ -820,7 +820,6 @@ event_manager_approve_channel_cb (EmpathyDispatcher *dispatcher,
             G_OBJECT (manager));
 
           g_object_unref (contact_factory);
-          g_object_unref (account);
         }
     }
   else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA))