~ubuntu-branches/ubuntu/precise/empathy/precise-updates

« back to all changes in this revision

Viewing changes to libempathy/empathy-ft-factory.c

  • Committer: Ken VanDine
  • Date: 2012-06-29 17:28:19 UTC
  • mfrom: (188.1.1 empathy)
  • Revision ID: ken.vandine@canonical.com-20120629172819-bl38rfqndp62hk05
* New upstream release (LP: #1018784).
  - Use a weak reference while loading the logs asynchronously to detect when the object has been destroyed
  - irc connection parameters dialog: "apply" button stays unsensitive (Guillaume Desmottes)
  - empathy-chat crashed with SIGSEGV in _tp_base_client_handle_channels() (Guillaume Desmottes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
    GError *error,
226
226
    gpointer user_data)
227
227
{
228
 
  EmpathyFTFactory *factory = user_data;
 
228
  EmpathyFTFactory *factory = EMPATHY_FT_FACTORY (user_data);
229
229
 
230
230
  g_signal_emit (factory, signals[NEW_FT_HANDLER], 0, handler, error);
 
231
 
 
232
  g_object_unref (factory);
231
233
}
232
234
 
233
235
/* public methods */
266
268
  g_return_if_fail (G_IS_FILE (source));
267
269
 
268
270
  empathy_ft_handler_new_outgoing (contact, source, action_time,
269
 
      ft_handler_outgoing_ready_cb, factory);
 
271
      ft_handler_outgoing_ready_cb, g_object_ref (factory));
270
272
}
271
273
 
272
274
/**