~ubuntu-branches/ubuntu/saucy/hud/saucy-proposed

« back to all changes in this revision

Viewing changes to src/hudappmenuregistrar.c

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-06-05 12:33:44 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: package-import@ubuntu.com-20130605123344-cpp4to647tyfv7kr
Tags: upstream-13.10.1daily13.06.05.1
ImportĀ upstreamĀ versionĀ 13.10.1daily13.06.05.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
 
229
229
  g_clear_object (&registrar->cancellable);
230
230
 
 
231
  if (source == NULL)
 
232
  {
 
233
    g_debug("Callback invoked with null connection");
 
234
    return;
 
235
  }
 
236
 
231
237
  reply = g_dbus_connection_call_finish (G_DBUS_CONNECTION (source), result, &error);
232
238
 
233
239
  if (reply)
308
314
 
309
315
  g_debug ("name vanished");
310
316
 
 
317
  if(connection == NULL)
 
318
    {
 
319
      return;
 
320
    }
 
321
 
311
322
  if (registrar->subscription > 0)
312
323
    {
313
324
      g_dbus_connection_signal_unsubscribe (connection, registrar->subscription);