~darkxst/ubuntu/quantal/telepathy-logger/lp1049210

« back to all changes in this revision

Viewing changes to telepathy-logger/observer.c

  • Committer: Ken VanDine
  • Date: 2011-02-24 04:29:08 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: ken.vandine@canonical.com-20110224042908-l3tn31dq84kspmt5
Tags: 0.2.0-0ubuntu1
releasing version 0.2.0-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 */
83
83
 
84
84
static void tpl_observer_dispose (GObject * obj);
85
 
static void got_tpl_channel_text_ready_cb (GObject *obj, GAsyncResult *result,
 
85
static void got_tpl_text_channel_ready_cb (GObject *obj, GAsyncResult *result,
86
86
    gpointer user_data);
87
87
static TplChannelFactory tpl_observer_get_channel_factory (TplObserver *self);
88
88
 
181
181
      g_hash_table_insert (self->priv->preparing_channels,
182
182
          (gchar *) tp_proxy_get_object_path (tpl_chan), tpl_chan);
183
183
 
184
 
      _tpl_channel_call_when_ready (tpl_chan, got_tpl_channel_text_ready_cb,
 
184
      _tpl_channel_call_when_ready (tpl_chan, got_tpl_text_channel_ready_cb,
185
185
          observing_ctx);
186
186
    }
187
187
 
228
228
}
229
229
 
230
230
static void
231
 
got_tpl_channel_text_ready_cb (GObject *obj,
 
231
got_tpl_text_channel_ready_cb (GObject *obj,
232
232
    GAsyncResult *result,
233
233
    gpointer user_data)
234
234
{
424
424
 * @self: #TplObserver instance, cannot be %NULL.
425
425
 * @channel: a #TplChannel cast of a TplChannel subclass instance
426
426
 *
427
 
 * Un-registers a TplChannel subclass instance, i.e. TplChannelText instance,
 
427
 * Un-registers a TplChannel subclass instance, i.e. TplTextChannel instance,
428
428
 * as TplChannel instance.
429
429
 * It is supposed to be called when the Closed signal for a channel is
430
430
 * emitted or when an un-recoverable error during the life or a TplChannel