~ubuntu-branches/ubuntu/quantal/gwibber/quantal

« back to all changes in this revision

Viewing changes to libgwibber/service.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell, Ken VanDine, Robert Ancell
  • Date: 2012-05-14 17:39:39 UTC
  • mfrom: (130.1.1 precise-proposed)
  • Revision ID: package-import@ubuntu.com-20120514173939-p4px9mculkege533
Tags: 3.4.1-0ubuntu2
[ Ken VanDine ]
* debian/control
  - dropped unneeded recommends for python-libproxy (LP: #997706)
  - dropped unneeded depends for python-simplejson
* debian/gwibber.install
  - dropped unused service icons for jaiku and brightkite
  
[ Robert Ancell ]
* debian/control:
  - Use standards version 3.9.3
  - Drop dependency on liblaunchpad-integration-3.0-dev
* debian/patches/01_lpi.patch:
  - Dropped, we no longer do Launchpad integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* service.c generated by valac 0.15.2, the Vala compiler
 
1
/* service.c generated by valac 0.16.0, the Vala compiler
2
2
 * generated from service.vala, do not modify */
3
3
 
4
4
/*
238
238
static const GDBusInterfaceVTable _service_interface_dbus_interface_vtable = {service_interface_dbus_interface_method_call, service_interface_dbus_interface_get_property, service_interface_dbus_interface_set_property};
239
239
 
240
240
void service_interface_Start (ServiceInterface* self, GError** error) {
241
 
#line 24 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
242
241
        g_return_if_fail (self != NULL);
243
 
#line 24 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
244
242
        SERVICE_INTERFACE_GET_INTERFACE (self)->Start (self, error);
245
 
#line 246 "service.c"
246
243
}
247
244
 
248
245
 
249
246
void service_interface_Quit (ServiceInterface* self, GError** error) {
250
 
#line 25 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
251
247
        g_return_if_fail (self != NULL);
252
 
#line 25 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
253
248
        SERVICE_INTERFACE_GET_INTERFACE (self)->Quit (self, error);
254
 
#line 255 "service.c"
255
249
}
256
250
 
257
251
 
258
252
void service_interface_Refresh (ServiceInterface* self, GError** error) {
259
 
#line 26 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
260
253
        g_return_if_fail (self != NULL);
261
 
#line 26 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
262
254
        SERVICE_INTERFACE_GET_INTERFACE (self)->Refresh (self, error);
263
 
#line 264 "service.c"
264
255
}
265
256
 
266
257
 
267
258
void service_interface_SendMessage (ServiceInterface* self, const gchar* msg, GError** error) {
268
 
#line 27 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
269
259
        g_return_if_fail (self != NULL);
270
 
#line 27 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
271
260
        SERVICE_INTERFACE_GET_INTERFACE (self)->SendMessage (self, msg, error);
272
 
#line 273 "service.c"
273
261
}
274
262
 
275
263
 
276
264
void service_interface_Send (ServiceInterface* self, const gchar* msg, GError** error) {
277
 
#line 28 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
278
265
        g_return_if_fail (self != NULL);
279
 
#line 28 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
280
266
        SERVICE_INTERFACE_GET_INTERFACE (self)->Send (self, msg, error);
281
 
#line 282 "service.c"
282
267
}
283
268
 
284
269
 
285
270
void service_interface_Like (ServiceInterface* self, const gchar* mid, const gchar* account, GError** error) {
286
 
#line 29 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
287
271
        g_return_if_fail (self != NULL);
288
 
#line 29 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
289
272
        SERVICE_INTERFACE_GET_INTERFACE (self)->Like (self, mid, account, error);
290
 
#line 291 "service.c"
291
273
}
292
274
 
293
275
 
294
276
void service_interface_UnLike (ServiceInterface* self, const gchar* mid, const gchar* account, GError** error) {
295
 
#line 30 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
296
277
        g_return_if_fail (self != NULL);
297
 
#line 30 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
298
278
        SERVICE_INTERFACE_GET_INTERFACE (self)->UnLike (self, mid, account, error);
299
 
#line 300 "service.c"
300
279
}
301
280
 
302
281
 
303
282
void service_interface_Retweet (ServiceInterface* self, const gchar* mid, const gchar* account, GError** error) {
304
 
#line 31 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
305
283
        g_return_if_fail (self != NULL);
306
 
#line 31 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
307
284
        SERVICE_INTERFACE_GET_INTERFACE (self)->Retweet (self, mid, account, error);
308
 
#line 309 "service.c"
309
285
}
310
286
 
311
287
 
312
288
void service_interface_PerformOp (ServiceInterface* self, const gchar* op, GError** error) {
313
 
#line 32 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
314
289
        g_return_if_fail (self != NULL);
315
 
#line 32 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
316
290
        SERVICE_INTERFACE_GET_INTERFACE (self)->PerformOp (self, op, error);
317
 
#line 318 "service.c"
318
291
}
319
292
 
320
293
 
321
294
void service_interface_UpdateIndicators (ServiceInterface* self, const gchar* stream, GError** error) {
322
 
#line 33 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
323
295
        g_return_if_fail (self != NULL);
324
 
#line 33 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
325
296
        SERVICE_INTERFACE_GET_INTERFACE (self)->UpdateIndicators (self, stream, error);
326
 
#line 327 "service.c"
327
297
}
328
298
 
329
299
 
330
300
gchar* service_interface_GetAvatarPath (ServiceInterface* self, const gchar* url, GError** error) {
331
 
#line 34 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
332
301
        g_return_val_if_fail (self != NULL, NULL);
333
 
#line 34 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
334
302
        return SERVICE_INTERFACE_GET_INTERFACE (self)->GetAvatarPath (self, url, error);
335
 
#line 336 "service.c"
336
303
}
337
304
 
338
305
 
339
306
gchar* service_interface_GetFeatures (ServiceInterface* self, GError** error) {
340
 
#line 35 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
341
307
        g_return_val_if_fail (self != NULL, NULL);
342
 
#line 35 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
343
308
        return SERVICE_INTERFACE_GET_INTERFACE (self)->GetFeatures (self, error);
344
 
#line 345 "service.c"
345
309
}
346
310
 
347
311
 
348
312
gchar* service_interface_GetServices (ServiceInterface* self, GError** error) {
349
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
350
313
        g_return_val_if_fail (self != NULL, NULL);
351
 
#line 36 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
352
314
        return SERVICE_INTERFACE_GET_INTERFACE (self)->GetServices (self, error);
353
 
#line 354 "service.c"
354
315
}
355
316
 
356
317
 
357
318
gchar* service_interface_GetVersion (ServiceInterface* self, GError** error) {
358
 
#line 37 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
359
319
        g_return_val_if_fail (self != NULL, NULL);
360
 
#line 37 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
361
320
        return SERVICE_INTERFACE_GET_INTERFACE (self)->GetVersion (self, error);
362
 
#line 363 "service.c"
363
321
}
364
322
 
365
323
 
366
324
static void service_interface_base_init (ServiceInterfaceIface * iface) {
367
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
368
325
        static gboolean initialized = FALSE;
369
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
370
326
        if (!initialized) {
371
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
372
327
                initialized = TRUE;
373
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
374
328
                g_signal_new ("loading_started", TYPE_SERVICE_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
375
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
376
329
                g_signal_new ("loading_complete", TYPE_SERVICE_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
377
 
#line 23 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
378
330
                g_signal_new ("error", TYPE_SERVICE_INTERFACE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
379
 
#line 380 "service.c"
380
331
        }
381
332
}
382
333
 
1352
1303
 
1353
1304
void gwibber_service_service_available (GwibberService* self, gboolean is_up) {
1354
1305
        gboolean _tmp0_;
1355
 
#line 117 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1356
1306
        g_return_if_fail (self != NULL);
1357
 
#line 119 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1358
1307
        _tmp0_ = is_up;
1359
 
#line 119 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1360
1308
        g_signal_emit_by_name (self, "is-available", _tmp0_);
1361
 
#line 1362 "service.c"
1362
1309
}
1363
1310
 
1364
1311
 
1365
1312
void gwibber_service_on_loading_started (GwibberService* self) {
1366
 
#line 122 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1367
1313
        g_return_if_fail (self != NULL);
1368
 
#line 124 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1369
1314
        g_signal_emit_by_name (self, "loading-started");
1370
 
#line 1371 "service.c"
1371
1315
}
1372
1316
 
1373
1317
 
1374
1318
void gwibber_service_on_loading_complete (GwibberService* self) {
1375
 
#line 127 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1376
1319
        g_return_if_fail (self != NULL);
1377
 
#line 129 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1378
1320
        g_signal_emit_by_name (self, "loading-complete");
1379
 
#line 1380 "service.c"
1380
1321
}
1381
1322
 
1382
1323
 
1383
1324
static JsonObject* _vala_JsonObject_copy (JsonObject* self) {
1384
 
#line 138 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1385
1325
        return g_boxed_copy (json_object_get_type (), self);
1386
 
#line 1387 "service.c"
1387
1326
}
1388
1327
 
1389
1328
 
1390
1329
static gpointer __vala_JsonObject_copy0 (gpointer self) {
1391
 
#line 138 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1392
1330
        return self ? _vala_JsonObject_copy (self) : NULL;
1393
 
#line 1394 "service.c"
1394
1331
}
1395
1332
 
1396
1333
 
1397
1334
static void _vala_JsonObject_free (JsonObject* self) {
1398
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1399
1335
        g_boxed_free (json_object_get_type (), self);
1400
 
#line 1401 "service.c"
1401
1336
}
1402
1337
 
1403
1338
 
1404
1339
void gwibber_service_on_error (GwibberService* self, const gchar* error_str) {
1405
1340
        GError * _inner_error_ = NULL;
1406
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1407
1341
        g_return_if_fail (self != NULL);
1408
 
#line 132 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1409
1342
        g_return_if_fail (error_str != NULL);
1410
 
#line 1411 "service.c"
1411
1343
        {
1412
1344
                JsonParser* _tmp0_;
1413
1345
                JsonParser* parser;
1444
1376
                const gchar* _tmp25_;
1445
1377
                const gchar* _tmp26_;
1446
1378
                const gchar* _tmp27_;
1447
 
#line 136 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1448
1379
                _tmp0_ = json_parser_new ();
1449
 
#line 136 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1450
1380
                parser = _tmp0_;
1451
 
#line 137 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1452
1381
                _tmp1_ = error_str;
1453
 
#line 137 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1454
1382
                json_parser_load_from_data (parser, _tmp1_, (gssize) (-1), &_inner_error_);
1455
 
#line 137 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1456
1383
                if (_inner_error_ != NULL) {
1457
 
#line 137 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1458
1384
                        _g_object_unref0 (parser);
1459
 
#line 1460 "service.c"
1460
1385
                        goto __catch11_g_error;
1461
1386
                }
1462
 
#line 138 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1463
1387
                _tmp2_ = json_parser_get_root (parser);
1464
 
#line 138 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1465
1388
                _tmp3_ = json_node_get_object (_tmp2_);
1466
 
#line 138 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1467
1389
                _tmp4_ = __vala_JsonObject_copy0 (_tmp3_);
1468
 
#line 138 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1469
1390
                root_object = _tmp4_;
1470
 
#line 139 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1471
1391
                _tmp5_ = root_object;
1472
 
#line 139 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1473
1392
                _tmp6_ = json_object_get_member (_tmp5_, "error");
1474
 
#line 139 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1475
1393
                _tmp7_ = json_node_get_object (_tmp6_);
1476
 
#line 139 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1477
1394
                _tmp8_ = __vala_JsonObject_copy0 (_tmp7_);
1478
 
#line 139 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1479
1395
                error_object = _tmp8_;
1480
 
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1481
1396
                _tmp9_ = error_object;
1482
 
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1483
1397
                _tmp10_ = json_object_get_member (_tmp9_, "account");
1484
 
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1485
1398
                _tmp11_ = json_node_get_object (_tmp10_);
1486
 
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1487
1399
                _tmp12_ = __vala_JsonObject_copy0 (_tmp11_);
1488
 
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1489
1400
                account_object = _tmp12_;
1490
 
#line 141 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1491
1401
                _tmp13_ = account_object;
1492
 
#line 141 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1493
1402
                _tmp14_ = json_object_get_member (_tmp13_, "id");
1494
 
#line 141 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1495
1403
                _tmp15_ = json_node_get_string (_tmp14_);
1496
 
#line 141 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1497
1404
                _tmp16_ = g_strdup (_tmp15_);
1498
 
#line 141 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1499
1405
                id = _tmp16_;
1500
 
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1501
1406
                _tmp17_ = error_object;
1502
 
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1503
1407
                _tmp18_ = json_object_get_member (_tmp17_, "type");
1504
 
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1505
1408
                _tmp19_ = json_node_get_string (_tmp18_);
1506
 
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1507
1409
                _tmp20_ = g_strdup (_tmp19_);
1508
 
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1509
1410
                type = _tmp20_;
1510
 
#line 143 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1511
1411
                _tmp21_ = error_object;
1512
 
#line 143 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1513
1412
                _tmp22_ = json_object_get_member (_tmp21_, "message");
1514
 
#line 143 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1515
1413
                _tmp23_ = json_node_get_string (_tmp22_);
1516
 
#line 143 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1517
1414
                _tmp24_ = g_strdup (_tmp23_);
1518
 
#line 143 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1519
1415
                message = _tmp24_;
1520
 
#line 144 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1521
1416
                _tmp25_ = id;
1522
 
#line 144 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1523
1417
                _tmp26_ = type;
1524
 
#line 144 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1525
1418
                _tmp27_ = message;
1526
 
#line 144 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1527
1419
                g_signal_emit_by_name (self, "error", _tmp25_, _tmp26_, _tmp27_);
1528
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1529
1420
                _g_free0 (message);
1530
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1531
1421
                _g_free0 (type);
1532
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1533
1422
                _g_free0 (id);
1534
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1535
1423
                __vala_JsonObject_free0 (account_object);
1536
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1537
1424
                __vala_JsonObject_free0 (error_object);
1538
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1539
1425
                __vala_JsonObject_free0 (root_object);
1540
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1541
1426
                _g_object_unref0 (parser);
1542
 
#line 1543 "service.c"
1543
1427
        }
1544
1428
        goto __finally11;
1545
1429
        __catch11_g_error:
1547
1431
                GError* e = NULL;
1548
1432
                GError* _tmp28_;
1549
1433
                const gchar* _tmp29_;
1550
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1551
1434
                e = _inner_error_;
1552
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1553
1435
                _inner_error_ = NULL;
1554
 
#line 146 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1555
1436
                _tmp28_ = e;
1556
 
#line 146 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1557
1437
                _tmp29_ = _tmp28_->message;
1558
 
#line 146 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1559
1438
                g_warning ("service.vala:146: %s", _tmp29_);
1560
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1561
1439
                _g_error_free0 (e);
1562
 
#line 1563 "service.c"
1563
1440
        }
1564
1441
        __finally11:
1565
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1566
1442
        if (_inner_error_ != NULL) {
1567
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1568
1443
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1569
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1570
1444
                g_clear_error (&_inner_error_);
1571
 
#line 135 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1572
1445
                return;
1573
 
#line 1574 "service.c"
1574
1446
        }
1575
1447
}
1576
1448
 
1580
1452
        */
1581
1453
void gwibber_service_start (GwibberService* self) {
1582
1454
        GError * _inner_error_ = NULL;
1583
 
#line 153 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1584
1455
        g_return_if_fail (self != NULL);
1585
 
#line 1586 "service.c"
1586
1456
        {
1587
1457
                ServiceInterface* _tmp0_;
1588
 
#line 156 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1589
1458
                _tmp0_ = self->priv->service;
1590
 
#line 156 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1591
1459
                service_interface_Start (_tmp0_, &_inner_error_);
1592
 
#line 156 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1593
1460
                if (_inner_error_ != NULL) {
1594
 
#line 156 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1595
1461
                        if (_inner_error_->domain == G_IO_ERROR) {
1596
 
#line 1597 "service.c"
1597
1462
                                goto __catch12_g_io_error;
1598
1463
                        }
1599
 
#line 156 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1600
1464
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1601
 
#line 156 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1602
1465
                        g_clear_error (&_inner_error_);
1603
 
#line 156 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1604
1466
                        return;
1605
 
#line 1606 "service.c"
1606
1467
                }
1607
1468
        }
1608
1469
        goto __finally12;
1611
1472
                GError* e = NULL;
1612
1473
                GError* _tmp1_;
1613
1474
                const gchar* _tmp2_;
1614
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1615
1475
                e = _inner_error_;
1616
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1617
1476
                _inner_error_ = NULL;
1618
 
#line 158 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1619
1477
                _tmp1_ = e;
1620
 
#line 158 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1621
1478
                _tmp2_ = _tmp1_->message;
1622
 
#line 158 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1623
1479
                g_warning ("service.vala:158: %s", _tmp2_);
1624
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1625
1480
                _g_error_free0 (e);
1626
 
#line 1627 "service.c"
1627
1481
        }
1628
1482
        __finally12:
1629
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1630
1483
        if (_inner_error_ != NULL) {
1631
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1632
1484
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1633
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1634
1485
                g_clear_error (&_inner_error_);
1635
 
#line 155 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1636
1486
                return;
1637
 
#line 1638 "service.c"
1638
1487
        }
1639
1488
}
1640
1489
 
1646
1495
        */
1647
1496
void gwibber_service_quit (GwibberService* self) {
1648
1497
        GError * _inner_error_ = NULL;
1649
 
#line 167 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1650
1498
        g_return_if_fail (self != NULL);
1651
 
#line 1652 "service.c"
1652
1499
        {
1653
1500
                ServiceInterface* _tmp0_;
1654
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1655
1501
                _tmp0_ = self->priv->service;
1656
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1657
1502
                service_interface_Quit (_tmp0_, &_inner_error_);
1658
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1659
1503
                if (_inner_error_ != NULL) {
1660
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1661
1504
                        if (_inner_error_->domain == G_IO_ERROR) {
1662
 
#line 1663 "service.c"
1663
1505
                                goto __catch13_g_io_error;
1664
1506
                        }
1665
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1666
1507
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1667
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1668
1508
                        g_clear_error (&_inner_error_);
1669
 
#line 170 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1670
1509
                        return;
1671
 
#line 1672 "service.c"
1672
1510
                }
1673
1511
        }
1674
1512
        goto __finally13;
1677
1515
                GError* e = NULL;
1678
1516
                GError* _tmp1_;
1679
1517
                const gchar* _tmp2_;
1680
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1681
1518
                e = _inner_error_;
1682
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1683
1519
                _inner_error_ = NULL;
1684
 
#line 172 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1685
1520
                _tmp1_ = e;
1686
 
#line 172 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1687
1521
                _tmp2_ = _tmp1_->message;
1688
 
#line 172 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1689
1522
                g_warning ("service.vala:172: %s", _tmp2_);
1690
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1691
1523
                _g_error_free0 (e);
1692
 
#line 1693 "service.c"
1693
1524
        }
1694
1525
        __finally13:
1695
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1696
1526
        if (_inner_error_ != NULL) {
1697
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1698
1527
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1699
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1700
1528
                g_clear_error (&_inner_error_);
1701
 
#line 169 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1702
1529
                return;
1703
 
#line 1704 "service.c"
1704
1530
        }
1705
1531
}
1706
1532
 
1712
1538
        */
1713
1539
void gwibber_service_refresh (GwibberService* self) {
1714
1540
        GError * _inner_error_ = NULL;
1715
 
#line 181 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1716
1541
        g_return_if_fail (self != NULL);
1717
 
#line 1718 "service.c"
1718
1542
        {
1719
1543
                ServiceInterface* _tmp0_;
1720
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1721
1544
                _tmp0_ = self->priv->service;
1722
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1723
1545
                service_interface_Refresh (_tmp0_, &_inner_error_);
1724
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1725
1546
                if (_inner_error_ != NULL) {
1726
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1727
1547
                        if (_inner_error_->domain == G_IO_ERROR) {
1728
 
#line 1729 "service.c"
1729
1548
                                goto __catch14_g_io_error;
1730
1549
                        }
1731
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1732
1550
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1733
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1734
1551
                        g_clear_error (&_inner_error_);
1735
 
#line 184 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1736
1552
                        return;
1737
 
#line 1738 "service.c"
1738
1553
                }
1739
1554
        }
1740
1555
        goto __finally14;
1743
1558
                GError* e = NULL;
1744
1559
                GError* _tmp1_;
1745
1560
                const gchar* _tmp2_;
1746
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1747
1561
                e = _inner_error_;
1748
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1749
1562
                _inner_error_ = NULL;
1750
 
#line 186 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1751
1563
                _tmp1_ = e;
1752
 
#line 186 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1753
1564
                _tmp2_ = _tmp1_->message;
1754
 
#line 186 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1755
1565
                g_warning ("service.vala:186: %s", _tmp2_);
1756
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1757
1566
                _g_error_free0 (e);
1758
 
#line 1759 "service.c"
1759
1567
        }
1760
1568
        __finally14:
1761
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1762
1569
        if (_inner_error_ != NULL) {
1763
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1764
1570
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1765
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1766
1571
                g_clear_error (&_inner_error_);
1767
 
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1768
1572
                return;
1769
 
#line 1770 "service.c"
1770
1573
        }
1771
1574
}
1772
1575
 
1784
1587
        gchar* mid;
1785
1588
        const gchar* _tmp1_;
1786
1589
        GError * _inner_error_ = NULL;
1787
 
#line 197 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1788
1590
        g_return_val_if_fail (self != NULL, FALSE);
1789
 
#line 197 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1790
1591
        g_return_val_if_fail (id != NULL, FALSE);
1791
 
#line 197 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1792
1592
        g_return_val_if_fail (account != NULL, FALSE);
1793
 
#line 199 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1794
1593
        _tmp0_ = g_strdup ("");
1795
 
#line 199 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1796
1594
        mid = _tmp0_;
1797
 
#line 200 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1798
1595
        _tmp1_ = id;
1799
 
#line 200 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1800
1596
        if (_tmp1_ != NULL) {
1801
 
#line 1802 "service.c"
1802
1597
                {
1803
1598
                        GwibberMessages* _tmp2_;
1804
1599
                        const gchar* _tmp3_;
1819
1614
                        const gchar* _tmp16_;
1820
1615
                        gint _tmp17_;
1821
1616
                        gint _tmp18_;
1822
 
#line 203 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1823
1617
                        _tmp2_ = self->priv->messages;
1824
 
#line 203 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1825
1618
                        _tmp3_ = id;
1826
 
#line 203 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1827
1619
                        _tmp4_ = gwibber_messages_get_message (_tmp2_, _tmp3_);
1828
 
#line 203 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1829
1620
                        msg = _tmp4_;
1830
 
#line 204 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1831
1621
                        _tmp5_ = msg;
1832
 
#line 204 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1833
1622
                        _tmp6_ = strlen (_tmp5_);
1834
 
#line 204 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1835
1623
                        _tmp7_ = _tmp6_;
1836
 
#line 204 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1837
1624
                        if (_tmp7_ < 1) {
1838
 
#line 205 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1839
1625
                                result = FALSE;
1840
 
#line 205 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1841
1626
                                _g_free0 (msg);
1842
 
#line 205 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1843
1627
                                _g_free0 (mid);
1844
 
#line 205 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1845
1628
                                return result;
1846
 
#line 1847 "service.c"
1847
1629
                        }
1848
 
#line 207 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1849
1630
                        _tmp8_ = json_parser_new ();
1850
 
#line 207 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1851
1631
                        parser = _tmp8_;
1852
 
#line 208 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1853
1632
                        _tmp9_ = parser;
1854
 
#line 208 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1855
1633
                        _tmp10_ = msg;
1856
 
#line 208 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1857
1634
                        json_parser_load_from_data (_tmp9_, _tmp10_, (gssize) (-1), &_inner_error_);
1858
 
#line 208 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1859
1635
                        if (_inner_error_ != NULL) {
1860
 
#line 208 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1861
1636
                                _g_object_unref0 (parser);
1862
 
#line 208 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1863
1637
                                _g_free0 (msg);
1864
 
#line 1865 "service.c"
1865
1638
                                goto __catch15_g_error;
1866
1639
                        }
1867
 
#line 210 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1868
1640
                        _tmp11_ = parser;
1869
 
#line 210 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1870
1641
                        _tmp12_ = json_parser_get_root (_tmp11_);
1871
 
#line 210 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1872
1642
                        _tmp13_ = json_node_get_object (_tmp12_);
1873
 
#line 210 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1874
1643
                        _tmp14_ = json_object_get_string_member (_tmp13_, "mid");
1875
 
#line 210 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1876
1644
                        _tmp15_ = g_strdup (_tmp14_);
1877
 
#line 210 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1878
1645
                        _g_free0 (mid);
1879
 
#line 210 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1880
1646
                        mid = _tmp15_;
1881
 
#line 211 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1882
1647
                        _tmp16_ = mid;
1883
 
#line 211 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1884
1648
                        _tmp17_ = strlen (_tmp16_);
1885
 
#line 211 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1886
1649
                        _tmp18_ = _tmp17_;
1887
 
#line 211 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1888
1650
                        if (_tmp18_ < 1) {
1889
 
#line 212 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1890
1651
                                result = FALSE;
1891
 
#line 212 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1892
1652
                                _g_object_unref0 (parser);
1893
 
#line 212 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1894
1653
                                _g_free0 (msg);
1895
 
#line 212 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1896
1654
                                _g_free0 (mid);
1897
 
#line 212 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1898
1655
                                return result;
1899
 
#line 1900 "service.c"
1900
1656
                        }
1901
1657
                        {
1902
1658
                                ServiceInterface* _tmp19_;
1903
1659
                                const gchar* _tmp20_;
1904
1660
                                const gchar* _tmp21_;
1905
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1906
1661
                                _tmp19_ = self->priv->service;
1907
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1908
1662
                                _tmp20_ = mid;
1909
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1910
1663
                                _tmp21_ = account;
1911
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1912
1664
                                service_interface_Like (_tmp19_, _tmp20_, _tmp21_, &_inner_error_);
1913
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1914
1665
                                if (_inner_error_ != NULL) {
1915
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1916
1666
                                        if (_inner_error_->domain == G_IO_ERROR) {
1917
 
#line 1918 "service.c"
1918
1667
                                                goto __catch16_g_io_error;
1919
1668
                                        }
1920
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1921
1669
                                        _g_object_unref0 (parser);
1922
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1923
1670
                                        _g_free0 (msg);
1924
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1925
1671
                                        _g_free0 (mid);
1926
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1927
1672
                                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1928
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1929
1673
                                        g_clear_error (&_inner_error_);
1930
 
#line 214 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1931
1674
                                        return FALSE;
1932
 
#line 1933 "service.c"
1933
1675
                                }
1934
 
#line 215 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1935
1676
                                result = TRUE;
1936
 
#line 215 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1937
1677
                                _g_object_unref0 (parser);
1938
 
#line 215 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1939
1678
                                _g_free0 (msg);
1940
 
#line 215 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1941
1679
                                _g_free0 (mid);
1942
 
#line 215 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1943
1680
                                return result;
1944
 
#line 1945 "service.c"
1945
1681
                        }
1946
1682
                        goto __finally16;
1947
1683
                        __catch16_g_io_error:
1949
1685
                                GError* e = NULL;
1950
1686
                                GError* _tmp22_;
1951
1687
                                const gchar* _tmp23_;
1952
 
#line 213 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1953
1688
                                e = _inner_error_;
1954
 
#line 213 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1955
1689
                                _inner_error_ = NULL;
1956
 
#line 217 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1957
1690
                                _tmp22_ = e;
1958
 
#line 217 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1959
1691
                                _tmp23_ = _tmp22_->message;
1960
 
#line 217 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1961
1692
                                g_warning ("service.vala:217: %s", _tmp23_);
1962
 
#line 218 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1963
1693
                                result = FALSE;
1964
 
#line 218 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1965
1694
                                _g_error_free0 (e);
1966
 
#line 218 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1967
1695
                                _g_object_unref0 (parser);
1968
 
#line 218 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1969
1696
                                _g_free0 (msg);
1970
 
#line 218 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1971
1697
                                _g_free0 (mid);
1972
 
#line 218 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1973
1698
                                return result;
1974
 
#line 1975 "service.c"
1975
1699
                        }
1976
1700
                        __finally16:
1977
 
#line 213 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1978
1701
                        _g_object_unref0 (parser);
1979
 
#line 213 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1980
1702
                        _g_free0 (msg);
1981
 
#line 1982 "service.c"
1982
1703
                        goto __catch15_g_error;
1983
1704
                }
1984
1705
                goto __finally15;
1987
1708
                        GError* e = NULL;
1988
1709
                        GError* _tmp24_;
1989
1710
                        const gchar* _tmp25_;
1990
 
#line 202 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1991
1711
                        e = _inner_error_;
1992
 
#line 202 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1993
1712
                        _inner_error_ = NULL;
1994
 
#line 221 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1995
1713
                        _tmp24_ = e;
1996
 
#line 221 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1997
1714
                        _tmp25_ = _tmp24_->message;
1998
 
#line 221 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
1999
1715
                        g_warning ("service.vala:221: %s", _tmp25_);
2000
 
#line 222 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2001
1716
                        result = FALSE;
2002
 
#line 222 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2003
1717
                        _g_error_free0 (e);
2004
 
#line 222 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2005
1718
                        _g_free0 (mid);
2006
 
#line 222 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2007
1719
                        return result;
2008
 
#line 2009 "service.c"
2009
1720
                }
2010
1721
                __finally15:
2011
 
#line 202 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2012
1722
                _g_free0 (mid);
2013
 
#line 202 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2014
1723
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
2015
 
#line 202 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2016
1724
                g_clear_error (&_inner_error_);
2017
 
#line 202 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2018
1725
                return FALSE;
2019
 
#line 2020 "service.c"
2020
1726
        }
2021
 
#line 225 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2022
1727
        result = FALSE;
2023
 
#line 225 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2024
1728
        _g_free0 (mid);
2025
 
#line 225 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2026
1729
        return result;
2027
 
#line 2028 "service.c"
2028
1730
}
2029
1731
 
2030
1732
 
2041
1743
        gchar* mid;
2042
1744
        const gchar* _tmp1_;
2043
1745
        GError * _inner_error_ = NULL;
2044
 
#line 235 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2045
1746
        g_return_val_if_fail (self != NULL, FALSE);
2046
 
#line 235 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2047
1747
        g_return_val_if_fail (id != NULL, FALSE);
2048
 
#line 235 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2049
1748
        g_return_val_if_fail (account != NULL, FALSE);
2050
 
#line 237 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2051
1749
        _tmp0_ = g_strdup ("");
2052
 
#line 237 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2053
1750
        mid = _tmp0_;
2054
 
#line 238 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2055
1751
        _tmp1_ = id;
2056
 
#line 238 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2057
1752
        if (_tmp1_ != NULL) {
2058
 
#line 2059 "service.c"
2059
1753
                {
2060
1754
                        GwibberMessages* _tmp2_;
2061
1755
                        const gchar* _tmp3_;
2076
1770
                        const gchar* _tmp16_;
2077
1771
                        gint _tmp17_;
2078
1772
                        gint _tmp18_;
2079
 
#line 241 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2080
1773
                        _tmp2_ = self->priv->messages;
2081
 
#line 241 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2082
1774
                        _tmp3_ = id;
2083
 
#line 241 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2084
1775
                        _tmp4_ = gwibber_messages_get_message (_tmp2_, _tmp3_);
2085
 
#line 241 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2086
1776
                        msg = _tmp4_;
2087
 
#line 242 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2088
1777
                        _tmp5_ = msg;
2089
 
#line 242 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2090
1778
                        _tmp6_ = strlen (_tmp5_);
2091
 
#line 242 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2092
1779
                        _tmp7_ = _tmp6_;
2093
 
#line 242 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2094
1780
                        if (_tmp7_ < 1) {
2095
 
#line 243 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2096
1781
                                result = FALSE;
2097
 
#line 243 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2098
1782
                                _g_free0 (msg);
2099
 
#line 243 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2100
1783
                                _g_free0 (mid);
2101
 
#line 243 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2102
1784
                                return result;
2103
 
#line 2104 "service.c"
2104
1785
                        }
2105
 
#line 245 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2106
1786
                        _tmp8_ = json_parser_new ();
2107
 
#line 245 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2108
1787
                        parser = _tmp8_;
2109
 
#line 246 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2110
1788
                        _tmp9_ = parser;
2111
 
#line 246 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2112
1789
                        _tmp10_ = msg;
2113
 
#line 246 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2114
1790
                        json_parser_load_from_data (_tmp9_, _tmp10_, (gssize) (-1), &_inner_error_);
2115
 
#line 246 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2116
1791
                        if (_inner_error_ != NULL) {
2117
 
#line 246 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2118
1792
                                _g_object_unref0 (parser);
2119
 
#line 246 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2120
1793
                                _g_free0 (msg);
2121
 
#line 2122 "service.c"
2122
1794
                                goto __catch17_g_error;
2123
1795
                        }
2124
 
#line 248 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2125
1796
                        _tmp11_ = parser;
2126
 
#line 248 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2127
1797
                        _tmp12_ = json_parser_get_root (_tmp11_);
2128
 
#line 248 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2129
1798
                        _tmp13_ = json_node_get_object (_tmp12_);
2130
 
#line 248 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2131
1799
                        _tmp14_ = json_object_get_string_member (_tmp13_, "mid");
2132
 
#line 248 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2133
1800
                        _tmp15_ = g_strdup (_tmp14_);
2134
 
#line 248 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2135
1801
                        _g_free0 (mid);
2136
 
#line 248 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2137
1802
                        mid = _tmp15_;
2138
 
#line 249 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2139
1803
                        _tmp16_ = mid;
2140
 
#line 249 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2141
1804
                        _tmp17_ = strlen (_tmp16_);
2142
 
#line 249 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2143
1805
                        _tmp18_ = _tmp17_;
2144
 
#line 249 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2145
1806
                        if (_tmp18_ < 1) {
2146
 
#line 250 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2147
1807
                                result = FALSE;
2148
 
#line 250 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2149
1808
                                _g_object_unref0 (parser);
2150
 
#line 250 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2151
1809
                                _g_free0 (msg);
2152
 
#line 250 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2153
1810
                                _g_free0 (mid);
2154
 
#line 250 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2155
1811
                                return result;
2156
 
#line 2157 "service.c"
2157
1812
                        }
2158
1813
                        {
2159
1814
                                ServiceInterface* _tmp19_;
2160
1815
                                const gchar* _tmp20_;
2161
1816
                                const gchar* _tmp21_;
2162
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2163
1817
                                _tmp19_ = self->priv->service;
2164
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2165
1818
                                _tmp20_ = mid;
2166
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2167
1819
                                _tmp21_ = account;
2168
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2169
1820
                                service_interface_UnLike (_tmp19_, _tmp20_, _tmp21_, &_inner_error_);
2170
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2171
1821
                                if (_inner_error_ != NULL) {
2172
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2173
1822
                                        if (_inner_error_->domain == G_IO_ERROR) {
2174
 
#line 2175 "service.c"
2175
1823
                                                goto __catch18_g_io_error;
2176
1824
                                        }
2177
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2178
1825
                                        _g_object_unref0 (parser);
2179
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2180
1826
                                        _g_free0 (msg);
2181
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2182
1827
                                        _g_free0 (mid);
2183
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2184
1828
                                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
2185
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2186
1829
                                        g_clear_error (&_inner_error_);
2187
 
#line 252 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2188
1830
                                        return FALSE;
2189
 
#line 2190 "service.c"
2190
1831
                                }
2191
 
#line 253 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2192
1832
                                result = TRUE;
2193
 
#line 253 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2194
1833
                                _g_object_unref0 (parser);
2195
 
#line 253 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2196
1834
                                _g_free0 (msg);
2197
 
#line 253 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2198
1835
                                _g_free0 (mid);
2199
 
#line 253 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2200
1836
                                return result;
2201
 
#line 2202 "service.c"
2202
1837
                        }
2203
1838
                        goto __finally18;
2204
1839
                        __catch18_g_io_error:
2206
1841
                                GError* e = NULL;
2207
1842
                                GError* _tmp22_;
2208
1843
                                const gchar* _tmp23_;
2209
 
#line 251 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2210
1844
                                e = _inner_error_;
2211
 
#line 251 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2212
1845
                                _inner_error_ = NULL;
2213
 
#line 255 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2214
1846
                                _tmp22_ = e;
2215
 
#line 255 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2216
1847
                                _tmp23_ = _tmp22_->message;
2217
 
#line 255 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2218
1848
                                g_warning ("service.vala:255: %s", _tmp23_);
2219
 
#line 256 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2220
1849
                                result = FALSE;
2221
 
#line 256 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2222
1850
                                _g_error_free0 (e);
2223
 
#line 256 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2224
1851
                                _g_object_unref0 (parser);
2225
 
#line 256 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2226
1852
                                _g_free0 (msg);
2227
 
#line 256 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2228
1853
                                _g_free0 (mid);
2229
 
#line 256 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2230
1854
                                return result;
2231
 
#line 2232 "service.c"
2232
1855
                        }
2233
1856
                        __finally18:
2234
 
#line 251 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2235
1857
                        _g_object_unref0 (parser);
2236
 
#line 251 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2237
1858
                        _g_free0 (msg);
2238
 
#line 2239 "service.c"
2239
1859
                        goto __catch17_g_error;
2240
1860
                }
2241
1861
                goto __finally17;
2244
1864
                        GError* e = NULL;
2245
1865
                        GError* _tmp24_;
2246
1866
                        const gchar* _tmp25_;
2247
 
#line 240 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2248
1867
                        e = _inner_error_;
2249
 
#line 240 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2250
1868
                        _inner_error_ = NULL;
2251
 
#line 259 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2252
1869
                        _tmp24_ = e;
2253
 
#line 259 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2254
1870
                        _tmp25_ = _tmp24_->message;
2255
 
#line 259 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2256
1871
                        g_warning ("service.vala:259: %s", _tmp25_);
2257
 
#line 260 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2258
1872
                        result = FALSE;
2259
 
#line 260 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2260
1873
                        _g_error_free0 (e);
2261
 
#line 260 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2262
1874
                        _g_free0 (mid);
2263
 
#line 260 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2264
1875
                        return result;
2265
 
#line 2266 "service.c"
2266
1876
                }
2267
1877
                __finally17:
2268
 
#line 240 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2269
1878
                _g_free0 (mid);
2270
 
#line 240 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2271
1879
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
2272
 
#line 240 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2273
1880
                g_clear_error (&_inner_error_);
2274
 
#line 240 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2275
1881
                return FALSE;
2276
 
#line 2277 "service.c"
2277
1882
        }
2278
 
#line 263 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2279
1883
        result = FALSE;
2280
 
#line 263 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2281
1884
        _g_free0 (mid);
2282
 
#line 263 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2283
1885
        return result;
2284
 
#line 2285 "service.c"
2285
1886
}
2286
1887
 
2287
1888
 
2298
1899
        gchar* mid;
2299
1900
        const gchar* _tmp1_;
2300
1901
        GError * _inner_error_ = NULL;
2301
 
#line 276 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2302
1902
        g_return_val_if_fail (self != NULL, FALSE);
2303
 
#line 276 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2304
1903
        g_return_val_if_fail (id != NULL, FALSE);
2305
 
#line 276 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2306
1904
        g_return_val_if_fail (account != NULL, FALSE);
2307
 
#line 278 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2308
1905
        _tmp0_ = g_strdup ("");
2309
 
#line 278 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2310
1906
        mid = _tmp0_;
2311
 
#line 279 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2312
1907
        _tmp1_ = id;
2313
 
#line 279 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2314
1908
        if (_tmp1_ != NULL) {
2315
 
#line 2316 "service.c"
2316
1909
                {
2317
1910
                        GwibberMessages* _tmp2_;
2318
1911
                        const gchar* _tmp3_;
2333
1926
                        const gchar* _tmp16_;
2334
1927
                        gint _tmp17_;
2335
1928
                        gint _tmp18_;
2336
 
#line 282 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2337
1929
                        _tmp2_ = self->priv->messages;
2338
 
#line 282 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2339
1930
                        _tmp3_ = id;
2340
 
#line 282 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2341
1931
                        _tmp4_ = gwibber_messages_get_message (_tmp2_, _tmp3_);
2342
 
#line 282 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2343
1932
                        msg = _tmp4_;
2344
 
#line 283 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2345
1933
                        _tmp5_ = msg;
2346
 
#line 283 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2347
1934
                        _tmp6_ = strlen (_tmp5_);
2348
 
#line 283 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2349
1935
                        _tmp7_ = _tmp6_;
2350
 
#line 283 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2351
1936
                        if (_tmp7_ < 1) {
2352
 
#line 284 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2353
1937
                                result = FALSE;
2354
 
#line 284 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2355
1938
                                _g_free0 (msg);
2356
 
#line 284 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2357
1939
                                _g_free0 (mid);
2358
 
#line 284 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2359
1940
                                return result;
2360
 
#line 2361 "service.c"
2361
1941
                        }
2362
 
#line 286 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2363
1942
                        _tmp8_ = json_parser_new ();
2364
 
#line 286 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2365
1943
                        parser = _tmp8_;
2366
 
#line 287 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2367
1944
                        _tmp9_ = parser;
2368
 
#line 287 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2369
1945
                        _tmp10_ = msg;
2370
 
#line 287 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2371
1946
                        json_parser_load_from_data (_tmp9_, _tmp10_, (gssize) (-1), &_inner_error_);
2372
 
#line 287 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2373
1947
                        if (_inner_error_ != NULL) {
2374
 
#line 287 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2375
1948
                                _g_object_unref0 (parser);
2376
 
#line 287 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2377
1949
                                _g_free0 (msg);
2378
 
#line 2379 "service.c"
2379
1950
                                goto __catch19_g_error;
2380
1951
                        }
2381
 
#line 289 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2382
1952
                        _tmp11_ = parser;
2383
 
#line 289 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2384
1953
                        _tmp12_ = json_parser_get_root (_tmp11_);
2385
 
#line 289 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2386
1954
                        _tmp13_ = json_node_get_object (_tmp12_);
2387
 
#line 289 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2388
1955
                        _tmp14_ = json_object_get_string_member (_tmp13_, "mid");
2389
 
#line 289 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2390
1956
                        _tmp15_ = g_strdup (_tmp14_);
2391
 
#line 289 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2392
1957
                        _g_free0 (mid);
2393
 
#line 289 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2394
1958
                        mid = _tmp15_;
2395
 
#line 290 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2396
1959
                        _tmp16_ = mid;
2397
 
#line 290 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2398
1960
                        _tmp17_ = strlen (_tmp16_);
2399
 
#line 290 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2400
1961
                        _tmp18_ = _tmp17_;
2401
 
#line 290 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2402
1962
                        if (_tmp18_ < 1) {
2403
 
#line 291 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2404
1963
                                result = FALSE;
2405
 
#line 291 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2406
1964
                                _g_object_unref0 (parser);
2407
 
#line 291 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2408
1965
                                _g_free0 (msg);
2409
 
#line 291 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2410
1966
                                _g_free0 (mid);
2411
 
#line 291 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2412
1967
                                return result;
2413
 
#line 2414 "service.c"
2414
1968
                        }
2415
1969
                        {
2416
1970
                                ServiceInterface* _tmp19_;
2417
1971
                                const gchar* _tmp20_;
2418
1972
                                const gchar* _tmp21_;
2419
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2420
1973
                                _tmp19_ = self->priv->service;
2421
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2422
1974
                                _tmp20_ = mid;
2423
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2424
1975
                                _tmp21_ = account;
2425
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2426
1976
                                service_interface_Retweet (_tmp19_, _tmp20_, _tmp21_, &_inner_error_);
2427
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2428
1977
                                if (_inner_error_ != NULL) {
2429
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2430
1978
                                        if (_inner_error_->domain == G_IO_ERROR) {
2431
 
#line 2432 "service.c"
2432
1979
                                                goto __catch20_g_io_error;
2433
1980
                                        }
2434
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2435
1981
                                        _g_object_unref0 (parser);
2436
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2437
1982
                                        _g_free0 (msg);
2438
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2439
1983
                                        _g_free0 (mid);
2440
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2441
1984
                                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
2442
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2443
1985
                                        g_clear_error (&_inner_error_);
2444
 
#line 293 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2445
1986
                                        return FALSE;
2446
 
#line 2447 "service.c"
2447
1987
                                }
2448
 
#line 294 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2449
1988
                                result = TRUE;
2450
 
#line 294 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2451
1989
                                _g_object_unref0 (parser);
2452
 
#line 294 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2453
1990
                                _g_free0 (msg);
2454
 
#line 294 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2455
1991
                                _g_free0 (mid);
2456
 
#line 294 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2457
1992
                                return result;
2458
 
#line 2459 "service.c"
2459
1993
                        }
2460
1994
                        goto __finally20;
2461
1995
                        __catch20_g_io_error:
2463
1997
                                GError* e = NULL;
2464
1998
                                GError* _tmp22_;
2465
1999
                                const gchar* _tmp23_;
2466
 
#line 292 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2467
2000
                                e = _inner_error_;
2468
 
#line 292 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2469
2001
                                _inner_error_ = NULL;
2470
 
#line 296 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2471
2002
                                _tmp22_ = e;
2472
 
#line 296 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2473
2003
                                _tmp23_ = _tmp22_->message;
2474
 
#line 296 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2475
2004
                                g_warning ("service.vala:296: %s", _tmp23_);
2476
 
#line 297 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2477
2005
                                result = FALSE;
2478
 
#line 297 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2479
2006
                                _g_error_free0 (e);
2480
 
#line 297 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2481
2007
                                _g_object_unref0 (parser);
2482
 
#line 297 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2483
2008
                                _g_free0 (msg);
2484
 
#line 297 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2485
2009
                                _g_free0 (mid);
2486
 
#line 297 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2487
2010
                                return result;
2488
 
#line 2489 "service.c"
2489
2011
                        }
2490
2012
                        __finally20:
2491
 
#line 292 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2492
2013
                        _g_object_unref0 (parser);
2493
 
#line 292 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2494
2014
                        _g_free0 (msg);
2495
 
#line 2496 "service.c"
2496
2015
                        goto __catch19_g_error;
2497
2016
                }
2498
2017
                goto __finally19;
2501
2020
                        GError* e = NULL;
2502
2021
                        GError* _tmp24_;
2503
2022
                        const gchar* _tmp25_;
2504
 
#line 281 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2505
2023
                        e = _inner_error_;
2506
 
#line 281 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2507
2024
                        _inner_error_ = NULL;
2508
 
#line 300 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2509
2025
                        _tmp24_ = e;
2510
 
#line 300 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2511
2026
                        _tmp25_ = _tmp24_->message;
2512
 
#line 300 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2513
2027
                        g_warning ("service.vala:300: %s", _tmp25_);
2514
 
#line 301 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2515
2028
                        result = FALSE;
2516
 
#line 301 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2517
2029
                        _g_error_free0 (e);
2518
 
#line 301 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2519
2030
                        _g_free0 (mid);
2520
 
#line 301 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2521
2031
                        return result;
2522
 
#line 2523 "service.c"
2523
2032
                }
2524
2033
                __finally19:
2525
 
#line 281 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2526
2034
                _g_free0 (mid);
2527
 
#line 281 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2528
2035
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
2529
 
#line 281 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2530
2036
                g_clear_error (&_inner_error_);
2531
 
#line 281 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2532
2037
                return FALSE;
2533
 
#line 2534 "service.c"
2534
2038
        }
2535
 
#line 304 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2536
2039
        result = FALSE;
2537
 
#line 304 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2538
2040
        _g_free0 (mid);
2539
 
#line 304 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2540
2041
        return result;
2541
 
#line 2542 "service.c"
2542
2042
}
2543
2043
 
2544
2044
 
2552
2052
            Posts a message
2553
2053
        */
2554
2054
static void _vala_JsonNode_free (JsonNode* self) {
2555
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2556
2055
        g_boxed_free (json_node_get_type (), self);
2557
 
#line 2558 "service.c"
2558
2056
}
2559
2057
 
2560
2058
 
2561
2059
static JsonArray* _vala_JsonArray_copy (JsonArray* self) {
2562
 
#line 349 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2563
2060
        return g_boxed_copy (json_array_get_type (), self);
2564
 
#line 2565 "service.c"
2565
2061
}
2566
2062
 
2567
2063
 
2568
2064
static gpointer __vala_JsonArray_copy0 (gpointer self) {
2569
 
#line 349 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2570
2065
        return self ? _vala_JsonArray_copy (self) : NULL;
2571
 
#line 2572 "service.c"
2572
2066
}
2573
2067
 
2574
2068
 
2575
2069
static void _vala_JsonArray_free (JsonArray* self) {
2576
 
#line 344 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2577
2070
        g_boxed_free (json_array_get_type (), self);
2578
 
#line 2579 "service.c"
2579
2071
}
2580
2072
 
2581
2073
 
2587
2079
        const gchar* _tmp1_;
2588
2080
        gboolean _tmp3_;
2589
2081
        GError * _inner_error_ = NULL;
2590
 
#line 317 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2591
2082
        g_return_val_if_fail (self != NULL, FALSE);
2592
 
#line 322 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2593
2083
        _tmp1_ = id;
2594
 
#line 322 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2595
2084
        if (_tmp1_ != NULL) {
2596
 
#line 2597 "service.c"
2597
2085
                const gchar* _tmp2_;
2598
 
#line 322 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2599
2086
                _tmp2_ = action;
2600
 
#line 322 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2601
2087
                _tmp0_ = _tmp2_ != NULL;
2602
 
#line 2603 "service.c"
2603
2088
        } else {
2604
 
#line 322 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2605
2089
                _tmp0_ = FALSE;
2606
 
#line 2607 "service.c"
2607
2090
        }
2608
 
#line 322 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2609
2091
        _tmp3_ = _tmp0_;
2610
 
#line 322 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2611
2092
        if (_tmp3_) {
2612
 
#line 2613 "service.c"
2613
2093
                {
2614
2094
                        GwibberMessages* _tmp4_;
2615
2095
                        const gchar* _tmp5_;
2645
2125
                        gchar* _tmp47_ = NULL;
2646
2126
                        ServiceInterface* _tmp48_;
2647
2127
                        const gchar* _tmp49_;
2648
 
#line 325 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2649
2128
                        _tmp4_ = self->priv->messages;
2650
 
#line 325 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2651
2129
                        _tmp5_ = id;
2652
 
#line 325 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2653
2130
                        _tmp6_ = gwibber_messages_get_message (_tmp4_, _tmp5_);
2654
 
#line 325 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2655
2131
                        msg = _tmp6_;
2656
 
#line 326 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2657
2132
                        _tmp7_ = msg;
2658
 
#line 326 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2659
2133
                        _tmp8_ = strlen (_tmp7_);
2660
 
#line 326 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2661
2134
                        _tmp9_ = _tmp8_;
2662
 
#line 326 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2663
2135
                        if (_tmp9_ < 1) {
2664
 
#line 327 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2665
2136
                                result = FALSE;
2666
 
#line 327 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2667
2137
                                _g_free0 (msg);
2668
 
#line 327 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2669
2138
                                _g_free0 (json);
2670
 
#line 327 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2671
2139
                                return result;
2672
 
#line 2673 "service.c"
2673
2140
                        }
2674
 
#line 329 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2675
2141
                        _tmp10_ = json_generator_new ();
2676
 
#line 329 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2677
2142
                        msg_gen = _tmp10_;
2678
 
#line 330 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2679
2143
                        _tmp11_ = json_node_new (JSON_NODE_OBJECT);
2680
 
#line 330 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2681
2144
                        root = _tmp11_;
2682
 
#line 331 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2683
2145
                        _tmp12_ = json_object_new ();
2684
 
#line 331 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2685
2146
                        object = _tmp12_;
2686
 
#line 332 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2687
2147
                        _tmp13_ = root;
2688
 
#line 332 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2689
2148
                        _tmp14_ = object;
2690
 
#line 332 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2691
2149
                        json_node_set_object (_tmp13_, _tmp14_);
2692
 
#line 333 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2693
2150
                        _tmp15_ = msg_gen;
2694
 
#line 333 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2695
2151
                        _tmp16_ = root;
2696
 
#line 333 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2697
2152
                        json_generator_set_root (_tmp15_, _tmp16_);
2698
 
#line 335 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2699
2153
                        _tmp17_ = json_parser_new ();
2700
 
#line 335 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2701
2154
                        parser = _tmp17_;
2702
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2703
2155
                        _tmp18_ = parser;
2704
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2705
2156
                        _tmp19_ = msg;
2706
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2707
2157
                        json_parser_load_from_data (_tmp18_, _tmp19_, (gssize) (-1), &_inner_error_);
2708
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2709
2158
                        if (_inner_error_ != NULL) {
2710
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2711
2159
                                _g_object_unref0 (parser);
2712
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2713
2160
                                __vala_JsonObject_free0 (object);
2714
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2715
2161
                                __vala_JsonNode_free0 (root);
2716
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2717
2162
                                _g_object_unref0 (msg_gen);
2718
 
#line 336 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2719
2163
                                _g_free0 (msg);
2720
 
#line 2721 "service.c"
2721
2164
                                goto __catch21_g_error;
2722
2165
                        }
2723
 
#line 338 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2724
2166
                        _tmp20_ = object;
2725
 
#line 338 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2726
2167
                        _tmp21_ = message;
2727
 
#line 338 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2728
2168
                        json_object_set_string_member (_tmp20_, "message", _tmp21_);
2729
 
#line 339 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2730
2169
                        _tmp22_ = action;
2731
 
#line 339 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2732
2170
                        if (g_strcmp0 (_tmp22_, "reply") == 0) {
2733
 
#line 2734 "service.c"
2734
2171
                                JsonObject* _tmp23_;
2735
2172
                                JsonParser* _tmp24_;
2736
2173
                                JsonNode* _tmp25_ = NULL;
2737
2174
                                JsonObject* _tmp26_ = NULL;
2738
2175
                                JsonObject* _tmp27_;
2739
 
#line 340 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2740
2176
                                _tmp23_ = object;
2741
 
#line 340 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2742
2177
                                _tmp24_ = parser;
2743
 
#line 340 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2744
2178
                                _tmp25_ = json_parser_get_root (_tmp24_);
2745
 
#line 340 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2746
2179
                                _tmp26_ = json_node_get_object (_tmp25_);
2747
 
#line 340 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2748
2180
                                _tmp27_ = __vala_JsonObject_copy0 (_tmp26_);
2749
 
#line 340 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2750
2181
                                json_object_set_object_member (_tmp23_, "target", _tmp27_);
2751
 
#line 2752 "service.c"
2752
2182
                        }
2753
 
#line 341 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2754
2183
                        _tmp28_ = action;
2755
 
#line 341 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2756
2184
                        if (g_strcmp0 (_tmp28_, "private") == 0) {
2757
 
#line 2758 "service.c"
2758
2185
                                JsonObject* _tmp29_;
2759
2186
                                JsonParser* _tmp30_;
2760
2187
                                JsonNode* _tmp31_ = NULL;
2761
2188
                                JsonObject* _tmp32_ = NULL;
2762
2189
                                JsonObject* _tmp33_;
2763
 
#line 342 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2764
2190
                                _tmp29_ = object;
2765
 
#line 342 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2766
2191
                                _tmp30_ = parser;
2767
 
#line 342 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2768
2192
                                _tmp31_ = json_parser_get_root (_tmp30_);
2769
 
#line 342 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2770
2193
                                _tmp32_ = json_node_get_object (_tmp31_);
2771
 
#line 342 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2772
2194
                                _tmp33_ = __vala_JsonObject_copy0 (_tmp32_);
2773
 
#line 342 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2774
2195
                                json_object_set_object_member (_tmp29_, "private", _tmp33_);
2775
 
#line 2776 "service.c"
2776
2196
                        }
2777
 
#line 343 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2778
2197
                        _tmp34_ = object;
2779
 
#line 343 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2780
2198
                        _tmp35_ = action;
2781
 
#line 343 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2782
2199
                        json_object_set_string_member (_tmp34_, "action", _tmp35_);
2783
 
#line 344 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2784
2200
                        _tmp36_ = accounts;
2785
 
#line 344 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2786
2201
                        _tmp36__length1 = accounts_length1;
2787
 
#line 344 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2788
2202
                        if (_tmp36__length1 > 0) {
2789
 
#line 2790 "service.c"
2790
2203
                                JsonArray* _tmp37_;
2791
2204
                                JsonArray* acct_array;
2792
2205
                                gchar** _tmp38_;
2794
2207
                                JsonObject* _tmp42_;
2795
2208
                                JsonArray* _tmp43_;
2796
2209
                                JsonArray* _tmp44_;
2797
 
#line 346 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2798
2210
                                _tmp37_ = json_array_new ();
2799
 
#line 346 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2800
2211
                                acct_array = _tmp37_;
2801
 
#line 347 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2802
2212
                                _tmp38_ = accounts;
2803
 
#line 347 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2804
2213
                                _tmp38__length1 = accounts_length1;
2805
 
#line 2806 "service.c"
2806
2214
                                {
2807
2215
                                        gchar** a_collection = NULL;
2808
2216
                                        gint a_collection_length1 = 0;
2809
2217
                                        gint _a_collection_size_ = 0;
2810
2218
                                        gint a_it = 0;
2811
 
#line 347 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2812
2219
                                        a_collection = _tmp38_;
2813
 
#line 347 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2814
2220
                                        a_collection_length1 = _tmp38__length1;
2815
 
#line 347 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2816
2221
                                        for (a_it = 0; a_it < _tmp38__length1; a_it = a_it + 1) {
2817
 
#line 2818 "service.c"
2818
2222
                                                gchar* _tmp39_;
2819
2223
                                                gchar* a = NULL;
2820
 
#line 347 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2821
2224
                                                _tmp39_ = g_strdup (a_collection[a_it]);
2822
 
#line 347 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2823
2225
                                                a = _tmp39_;
2824
 
#line 2825 "service.c"
2825
2226
                                                {
2826
2227
                                                        JsonArray* _tmp40_;
2827
2228
                                                        const gchar* _tmp41_;
2828
 
#line 348 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2829
2229
                                                        _tmp40_ = acct_array;
2830
 
#line 348 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2831
2230
                                                        _tmp41_ = a;
2832
 
#line 348 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2833
2231
                                                        json_array_add_string_element (_tmp40_, _tmp41_);
2834
 
#line 347 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2835
2232
                                                        _g_free0 (a);
2836
 
#line 2837 "service.c"
2837
2233
                                                }
2838
2234
                                        }
2839
2235
                                }
2840
 
#line 349 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2841
2236
                                _tmp42_ = object;
2842
 
#line 349 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2843
2237
                                _tmp43_ = acct_array;
2844
 
#line 349 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2845
2238
                                _tmp44_ = __vala_JsonArray_copy0 (_tmp43_);
2846
 
#line 349 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2847
2239
                                json_object_set_array_member (_tmp42_, "accounts", _tmp44_);
2848
 
#line 344 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2849
2240
                                __vala_JsonArray_free0 (acct_array);
2850
 
#line 2851 "service.c"
2851
2241
                        }
2852
 
#line 351 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2853
2242
                        _tmp45_ = msg_gen;
2854
 
#line 351 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2855
2243
                        _tmp47_ = json_generator_to_data (_tmp45_, &_tmp46_);
2856
 
#line 351 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2857
2244
                        length = _tmp46_;
2858
 
#line 351 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2859
2245
                        _g_free0 (json);
2860
 
#line 351 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2861
2246
                        json = _tmp47_;
2862
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2863
2247
                        _tmp48_ = self->priv->service;
2864
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2865
2248
                        _tmp49_ = json;
2866
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2867
2249
                        service_interface_Send (_tmp48_, (const gchar*) _tmp49_, &_inner_error_);
2868
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2869
2250
                        if (_inner_error_ != NULL) {
2870
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2871
2251
                                _g_object_unref0 (parser);
2872
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2873
2252
                                __vala_JsonObject_free0 (object);
2874
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2875
2253
                                __vala_JsonNode_free0 (root);
2876
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2877
2254
                                _g_object_unref0 (msg_gen);
2878
 
#line 353 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2879
2255
                                _g_free0 (msg);
2880
 
#line 2881 "service.c"
2881
2256
                                goto __catch21_g_error;
2882
2257
                        }
2883
 
#line 354 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2884
2258
                        result = TRUE;
2885
 
#line 354 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2886
2259
                        _g_object_unref0 (parser);
2887
 
#line 354 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2888
2260
                        __vala_JsonObject_free0 (object);
2889
 
#line 354 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2890
2261
                        __vala_JsonNode_free0 (root);
2891
 
#line 354 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2892
2262
                        _g_object_unref0 (msg_gen);
2893
 
#line 354 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2894
2263
                        _g_free0 (msg);
2895
 
#line 354 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2896
2264
                        _g_free0 (json);
2897
 
#line 354 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2898
2265
                        return result;
2899
 
#line 2900 "service.c"
2900
2266
                }
2901
2267
                goto __finally21;
2902
2268
                __catch21_g_error:
2904
2270
                        GError* e = NULL;
2905
2271
                        GError* _tmp50_;
2906
2272
                        const gchar* _tmp51_;
2907
 
#line 324 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2908
2273
                        e = _inner_error_;
2909
 
#line 324 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2910
2274
                        _inner_error_ = NULL;
2911
 
#line 356 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2912
2275
                        _tmp50_ = e;
2913
 
#line 356 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2914
2276
                        _tmp51_ = _tmp50_->message;
2915
 
#line 356 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2916
2277
                        g_warning ("service.vala:356: %s", _tmp51_);
2917
 
#line 357 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2918
2278
                        result = FALSE;
2919
 
#line 357 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2920
2279
                        _g_error_free0 (e);
2921
 
#line 357 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2922
2280
                        _g_free0 (json);
2923
 
#line 357 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2924
2281
                        return result;
2925
 
#line 2926 "service.c"
2926
2282
                }
2927
2283
                __finally21:
2928
 
#line 324 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2929
2284
                _g_free0 (json);
2930
 
#line 324 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2931
2285
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
2932
 
#line 324 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2933
2286
                g_clear_error (&_inner_error_);
2934
 
#line 324 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2935
2287
                return FALSE;
2936
 
#line 2937 "service.c"
2937
2288
        } else {
2938
2289
                {
2939
2290
                        ServiceInterface* _tmp52_;
2940
2291
                        const gchar* _tmp53_;
2941
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2942
2292
                        _tmp52_ = self->priv->service;
2943
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2944
2293
                        _tmp53_ = message;
2945
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2946
2294
                        service_interface_SendMessage (_tmp52_, _tmp53_, &_inner_error_);
2947
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2948
2295
                        if (_inner_error_ != NULL) {
2949
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2950
2296
                                if (_inner_error_->domain == G_IO_ERROR) {
2951
 
#line 2952 "service.c"
2952
2297
                                        goto __catch22_g_io_error;
2953
2298
                                }
2954
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2955
2299
                                _g_free0 (json);
2956
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2957
2300
                                g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
2958
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2959
2301
                                g_clear_error (&_inner_error_);
2960
 
#line 362 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2961
2302
                                return FALSE;
2962
 
#line 2963 "service.c"
2963
2303
                        }
2964
 
#line 363 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2965
2304
                        result = TRUE;
2966
 
#line 363 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2967
2305
                        _g_free0 (json);
2968
 
#line 363 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2969
2306
                        return result;
2970
 
#line 2971 "service.c"
2971
2307
                }
2972
2308
                goto __finally22;
2973
2309
                __catch22_g_io_error:
2975
2311
                        GError* e = NULL;
2976
2312
                        GError* _tmp54_;
2977
2313
                        const gchar* _tmp55_;
2978
 
#line 361 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2979
2314
                        e = _inner_error_;
2980
 
#line 361 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2981
2315
                        _inner_error_ = NULL;
2982
 
#line 365 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2983
2316
                        _tmp54_ = e;
2984
 
#line 365 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2985
2317
                        _tmp55_ = _tmp54_->message;
2986
 
#line 365 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2987
2318
                        g_warning ("service.vala:365: %s", _tmp55_);
2988
 
#line 366 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2989
2319
                        result = FALSE;
2990
 
#line 366 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2991
2320
                        _g_error_free0 (e);
2992
 
#line 366 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2993
2321
                        _g_free0 (json);
2994
 
#line 366 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
2995
2322
                        return result;
2996
 
#line 2997 "service.c"
2997
2323
                }
2998
2324
                __finally22:
2999
 
#line 361 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3000
2325
                _g_free0 (json);
3001
 
#line 361 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3002
2326
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
3003
 
#line 361 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3004
2327
                g_clear_error (&_inner_error_);
3005
 
#line 361 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3006
2328
                return FALSE;
3007
 
#line 3008 "service.c"
3008
2329
        }
3009
 
#line 317 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3010
2330
        _g_free0 (json);
3011
 
#line 3012 "service.c"
3012
2331
}
3013
2332
 
3014
2333
 
3015
2334
static void _g_hash_table_remove_all_gdestroy_notify (void* data) {
3016
 
#line 374 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3017
2335
        g_hash_table_remove_all (data);
3018
 
#line 3019 "service.c"
3019
2336
}
3020
2337
 
3021
2338
 
3022
2339
static void _g_free0_ (gpointer var) {
3023
 
#line 398 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3024
2340
        var = (g_free (var), NULL);
3025
 
#line 3026 "service.c"
3026
2341
}
3027
2342
 
3028
2343
 
3029
2344
static void _g_list_free__g_free0_ (GList* self) {
3030
 
#line 398 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3031
2345
        g_list_foreach (self, (GFunc) _g_free0_, NULL);
3032
 
#line 398 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3033
2346
        g_list_free (self);
3034
 
#line 3035 "service.c"
3035
2347
}
3036
2348
 
3037
2349
 
3038
2350
static gpointer _g_hash_table_ref0 (gpointer self) {
3039
 
#line 401 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3040
2351
        return self ? g_hash_table_ref (self) : NULL;
3041
 
#line 3042 "service.c"
3042
2352
}
3043
2353
 
3044
2354
 
3049
2359
        GDestroyNotify _tmp2_;
3050
2360
        GHashTable* _tmp3_;
3051
2361
        GError * _inner_error_ = NULL;
3052
 
#line 372 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3053
2362
        g_return_val_if_fail (self != NULL, NULL);
3054
 
#line 374 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3055
2363
        _tmp0_ = g_str_hash;
3056
 
#line 374 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3057
2364
        _tmp1_ = g_str_equal;
3058
 
#line 374 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3059
2365
        _tmp2_ = g_free;
3060
 
#line 374 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3061
2366
        _tmp3_ = g_hash_table_new_full (_tmp0_, _tmp1_, _tmp2_, _g_hash_table_remove_all_gdestroy_notify);
3062
 
#line 374 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3063
2367
        _g_hash_table_unref0 (self->priv->services_table);
3064
 
#line 374 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3065
2368
        self->priv->services_table = _tmp3_;
3066
 
#line 3067 "service.c"
3067
2369
        {
3068
2370
                ServiceInterface* _tmp4_;
3069
2371
                gchar* _tmp5_ = NULL;
3079
2381
                GList* _tmp16_ = NULL;
3080
2382
                GHashTable* _tmp60_;
3081
2383
                GHashTable* _tmp61_;
3082
 
#line 376 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3083
2384
                _tmp4_ = self->priv->service;
3084
 
#line 376 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3085
2385
                _tmp5_ = service_interface_GetServices (_tmp4_, &_inner_error_);
3086
 
#line 376 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3087
2386
                services = _tmp5_;
3088
 
#line 376 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3089
2387
                if (_inner_error_ != NULL) {
3090
 
#line 3091 "service.c"
3091
2388
                        goto __catch23_g_error;
3092
2389
                }
3093
 
#line 377 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3094
2390
                _tmp6_ = json_parser_new ();
3095
 
#line 377 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3096
2391
                parser = _tmp6_;
3097
 
#line 3098 "service.c"
3098
2392
                {
3099
2393
                        JsonParser* _tmp7_;
3100
2394
                        const gchar* _tmp8_;
3101
 
#line 379 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3102
2395
                        _tmp7_ = parser;
3103
 
#line 379 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3104
2396
                        _tmp8_ = services;
3105
 
#line 379 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3106
2397
                        json_parser_load_from_data (_tmp7_, _tmp8_, (gssize) (-1), &_inner_error_);
3107
 
#line 379 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3108
2398
                        if (_inner_error_ != NULL) {
3109
 
#line 3110 "service.c"
3110
2399
                                goto __catch24_g_error;
3111
2400
                        }
3112
2401
                }
3116
2405
                        GError* e = NULL;
3117
2406
                        GError* _tmp9_;
3118
2407
                        const gchar* _tmp10_;
3119
 
#line 378 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3120
2408
                        e = _inner_error_;
3121
 
#line 378 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3122
2409
                        _inner_error_ = NULL;
3123
 
#line 381 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3124
2410
                        _tmp9_ = e;
3125
 
#line 381 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3126
2411
                        _tmp10_ = _tmp9_->message;
3127
 
#line 381 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3128
2412
                        g_warning ("service.vala:381: %s", _tmp10_);
3129
 
#line 382 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3130
2413
                        result = NULL;
3131
 
#line 382 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3132
2414
                        _g_error_free0 (e);
3133
 
#line 382 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3134
2415
                        _g_object_unref0 (parser);
3135
 
#line 382 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3136
2416
                        _g_free0 (services);
3137
 
#line 382 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3138
2417
                        return result;
3139
 
#line 3140 "service.c"
3140
2418
                }
3141
2419
                __finally24:
3142
 
#line 378 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3143
2420
                if (_inner_error_ != NULL) {
3144
 
#line 378 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3145
2421
                        _g_object_unref0 (parser);
3146
 
#line 378 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3147
2422
                        _g_free0 (services);
3148
 
#line 3149 "service.c"
3149
2423
                        goto __catch23_g_error;
3150
2424
                }
3151
 
#line 384 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3152
2425
                _tmp11_ = parser;
3153
 
#line 384 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3154
2426
                _tmp12_ = json_parser_get_root (_tmp11_);
3155
 
#line 384 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3156
2427
                _tmp13_ = json_node_get_object (_tmp12_);
3157
 
#line 384 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3158
2428
                _tmp14_ = __vala_JsonObject_copy0 (_tmp13_);
3159
 
#line 384 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3160
2429
                root_object = _tmp14_;
3161
 
#line 385 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3162
2430
                _tmp15_ = root_object;
3163
 
#line 385 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3164
2431
                _tmp16_ = json_object_get_members (_tmp15_);
3165
 
#line 3166 "service.c"
3166
2432
                {
3167
2433
                        GList* service_collection = NULL;
3168
2434
                        GList* service_it = NULL;
3169
 
#line 385 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3170
2435
                        service_collection = _tmp16_;
3171
 
#line 385 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3172
2436
                        for (service_it = service_collection; service_it != NULL; service_it = service_it->next) {
3173
 
#line 3174 "service.c"
3174
2437
                                const gchar* service = NULL;
3175
 
#line 385 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3176
2438
                                service = (const gchar*) service_it->data;
3177
 
#line 3178 "service.c"
3178
2439
                                {
3179
2440
                                        GHashFunc _tmp17_;
3180
2441
                                        GEqualFunc _tmp18_;
3194
2455
                                        gchar* _tmp57_;
3195
2456
                                        GHashTable* _tmp58_;
3196
2457
                                        GHashTable* _tmp59_;
3197
 
#line 386 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3198
2458
                                        _tmp17_ = g_str_hash;
3199
 
#line 386 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3200
2459
                                        _tmp18_ = g_str_equal;
3201
 
#line 386 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3202
2460
                                        _tmp19_ = g_free;
3203
 
#line 386 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3204
2461
                                        _tmp20_ = g_free;
3205
 
#line 386 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3206
2462
                                        _tmp21_ = g_hash_table_new_full (_tmp17_, _tmp18_, _tmp19_, _tmp20_);
3207
 
#line 386 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3208
2463
                                        _g_hash_table_unref0 (self->priv->service_table);
3209
 
#line 386 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3210
2464
                                        self->priv->service_table = _tmp21_;
3211
 
#line 387 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3212
2465
                                        _tmp22_ = root_object;
3213
 
#line 387 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3214
2466
                                        _tmp23_ = service;
3215
 
#line 387 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3216
2467
                                        _tmp24_ = json_object_get_member (_tmp22_, _tmp23_);
3217
 
#line 387 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3218
2468
                                        _tmp25_ = json_node_get_object (_tmp24_);
3219
 
#line 387 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3220
2469
                                        _tmp26_ = __vala_JsonObject_copy0 (_tmp25_);
3221
 
#line 387 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3222
2470
                                        services_object = _tmp26_;
3223
 
#line 388 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3224
2471
                                        _tmp27_ = services_object;
3225
 
#line 388 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3226
2472
                                        _tmp28_ = json_object_get_members (_tmp27_);
3227
 
#line 3228 "service.c"
3228
2473
                                        {
3229
2474
                                                GList* member_collection = NULL;
3230
2475
                                                GList* member_it = NULL;
3231
 
#line 388 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3232
2476
                                                member_collection = _tmp28_;
3233
 
#line 388 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3234
2477
                                                for (member_it = member_collection; member_it != NULL; member_it = member_it->next) {
3235
 
#line 3236 "service.c"
3236
2478
                                                        const gchar* member = NULL;
3237
 
#line 388 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3238
2479
                                                        member = (const gchar*) member_it->data;
3239
 
#line 3240 "service.c"
3240
2480
                                                        {
3241
2481
                                                                JsonObject* _tmp29_;
3242
2482
                                                                const gchar* _tmp30_;
3243
2483
                                                                JsonNode* _tmp31_ = NULL;
3244
2484
                                                                const gchar* _tmp32_ = NULL;
3245
 
#line 389 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3246
2485
                                                                _tmp29_ = services_object;
3247
 
#line 389 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3248
2486
                                                                _tmp30_ = member;
3249
 
#line 389 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3250
2487
                                                                _tmp31_ = json_object_get_member (_tmp29_, _tmp30_);
3251
 
#line 389 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3252
2488
                                                                _tmp32_ = json_node_type_name (_tmp31_);
3253
 
#line 389 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3254
2489
                                                                if (g_strcmp0 (_tmp32_, "JsonArray") == 0) {
3255
 
#line 3256 "service.c"
3256
2490
                                                                        JsonObject* _tmp33_;
3257
2491
                                                                        const gchar* _tmp34_;
3258
2492
                                                                        JsonArray* _tmp35_ = NULL;
3264
2498
                                                                        gchar* _tmp52_;
3265
2499
                                                                        GList* _tmp53_;
3266
2500
                                                                        GList* _tmp54_ = NULL;
3267
 
#line 390 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3268
2501
                                                                        _tmp33_ = services_object;
3269
 
#line 390 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3270
2502
                                                                        _tmp34_ = member;
3271
 
#line 390 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3272
2503
                                                                        _tmp35_ = json_object_get_array_member (_tmp33_, _tmp34_);
3273
 
#line 390 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3274
2504
                                                                        _tmp36_ = __vala_JsonArray_copy0 (_tmp35_);
3275
 
#line 390 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3276
2505
                                                                        service_array = _tmp36_;
3277
 
#line 391 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3278
2506
                                                                        service_attr_list = NULL;
3279
 
#line 3280 "service.c"
3280
2507
                                                                        {
3281
2508
                                                                                gint i;
3282
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3283
2509
                                                                                i = 0;
3284
 
#line 3285 "service.c"
3285
2510
                                                                                {
3286
2511
                                                                                        gboolean _tmp37_;
3287
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3288
2512
                                                                                        _tmp37_ = TRUE;
3289
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3290
2513
                                                                                        while (TRUE) {
3291
 
#line 3292 "service.c"
3292
2514
                                                                                                gboolean _tmp38_;
3293
2515
                                                                                                gint _tmp40_;
3294
2516
                                                                                                JsonArray* _tmp41_;
3301
2523
                                                                                                gchar* f;
3302
2524
                                                                                                const gchar* _tmp48_;
3303
2525
                                                                                                gchar* _tmp49_;
3304
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3305
2526
                                                                                                _tmp38_ = _tmp37_;
3306
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3307
2527
                                                                                                if (!_tmp38_) {
3308
 
#line 3309 "service.c"
3309
2528
                                                                                                        gint _tmp39_;
3310
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3311
2529
                                                                                                        _tmp39_ = i;
3312
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3313
2530
                                                                                                        i = _tmp39_ + 1;
3314
 
#line 3315 "service.c"
3315
2531
                                                                                                }
3316
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3317
2532
                                                                                                _tmp37_ = FALSE;
3318
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3319
2533
                                                                                                _tmp40_ = i;
3320
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3321
2534
                                                                                                _tmp41_ = service_array;
3322
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3323
2535
                                                                                                _tmp42_ = json_array_get_length (_tmp41_);
3324
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3325
2536
                                                                                                if (!(((guint) _tmp40_) < _tmp42_)) {
3326
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3327
2537
                                                                                                        break;
3328
 
#line 3329 "service.c"
3329
2538
                                                                                                }
3330
 
#line 393 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3331
2539
                                                                                                _tmp43_ = service_array;
3332
 
#line 393 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3333
2540
                                                                                                _tmp44_ = i;
3334
 
#line 393 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3335
2541
                                                                                                _tmp45_ = json_array_get_element (_tmp43_, (guint) _tmp44_);
3336
 
#line 393 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3337
2542
                                                                                                _tmp46_ = json_node_get_string (_tmp45_);
3338
 
#line 393 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3339
2543
                                                                                                _tmp47_ = g_strdup (_tmp46_);
3340
 
#line 393 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3341
2544
                                                                                                f = _tmp47_;
3342
 
#line 394 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3343
2545
                                                                                                _tmp48_ = f;
3344
 
#line 394 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3345
2546
                                                                                                _tmp49_ = g_strdup (_tmp48_);
3346
 
#line 394 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3347
2547
                                                                                                service_attr_list = g_list_append (service_attr_list, _tmp49_);
3348
 
#line 392 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3349
2548
                                                                                                _g_free0 (f);
3350
 
#line 3351 "service.c"
3351
2549
                                                                                        }
3352
2550
                                                                                }
3353
2551
                                                                        }
3354
 
#line 397 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3355
2552
                                                                        _tmp50_ = self->priv->service_table;
3356
 
#line 397 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3357
2553
                                                                        _tmp51_ = member;
3358
 
#line 397 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3359
2554
                                                                        _tmp52_ = g_strdup (_tmp51_);
3360
 
#line 397 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3361
2555
                                                                        _tmp53_ = service_attr_list;
3362
 
#line 397 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3363
2556
                                                                        _tmp54_ = g_list_copy (_tmp53_);
3364
 
#line 397 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3365
2557
                                                                        g_hash_table_insert (_tmp50_, _tmp52_, _tmp54_);
3366
 
#line 398 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3367
2558
                                                                        __g_list_free__g_free0_0 (service_attr_list);
3368
 
#line 398 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3369
2559
                                                                        __vala_JsonArray_free0 (service_array);
3370
 
#line 398 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3371
2560
                                                                        continue;
3372
 
#line 3373 "service.c"
3373
2561
                                                                }
3374
2562
                                                        }
3375
2563
                                                }
3376
 
#line 388 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3377
2564
                                                _g_list_free0 (member_collection);
3378
 
#line 3379 "service.c"
3379
2565
                                        }
3380
 
#line 401 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3381
2566
                                        _tmp55_ = self->priv->services_table;
3382
 
#line 401 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3383
2567
                                        _tmp56_ = service;
3384
 
#line 401 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3385
2568
                                        _tmp57_ = g_strdup (_tmp56_);
3386
 
#line 401 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3387
2569
                                        _tmp58_ = self->priv->service_table;
3388
 
#line 401 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3389
2570
                                        _tmp59_ = _g_hash_table_ref0 (_tmp58_);
3390
 
#line 401 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3391
2571
                                        g_hash_table_insert (_tmp55_, _tmp57_, _tmp59_);
3392
 
#line 385 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3393
2572
                                        __vala_JsonObject_free0 (services_object);
3394
 
#line 3395 "service.c"
3395
2573
                                }
3396
2574
                        }
3397
 
#line 385 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3398
2575
                        _g_list_free0 (service_collection);
3399
 
#line 3400 "service.c"
3400
2576
                }
3401
 
#line 403 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3402
2577
                _tmp60_ = self->priv->services_table;
3403
 
#line 403 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3404
2578
                _tmp61_ = _g_hash_table_ref0 (_tmp60_);
3405
 
#line 403 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3406
2579
                result = _tmp61_;
3407
 
#line 403 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3408
2580
                __vala_JsonObject_free0 (root_object);
3409
 
#line 403 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3410
2581
                _g_object_unref0 (parser);
3411
 
#line 403 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3412
2582
                _g_free0 (services);
3413
 
#line 403 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3414
2583
                return result;
3415
 
#line 3416 "service.c"
3416
2584
        }
3417
2585
        goto __finally23;
3418
2586
        __catch23_g_error:
3420
2588
                GError* e = NULL;
3421
2589
                GError* _tmp62_;
3422
2590
                const gchar* _tmp63_;
3423
 
#line 375 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3424
2591
                e = _inner_error_;
3425
 
#line 375 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3426
2592
                _inner_error_ = NULL;
3427
 
#line 405 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3428
2593
                _tmp62_ = e;
3429
 
#line 405 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3430
2594
                _tmp63_ = _tmp62_->message;
3431
 
#line 405 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3432
2595
                g_warning ("service.vala:405: %s", _tmp63_);
3433
 
#line 406 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3434
2596
                result = NULL;
3435
 
#line 406 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3436
2597
                _g_error_free0 (e);
3437
 
#line 406 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3438
2598
                return result;
3439
 
#line 3440 "service.c"
3440
2599
        }
3441
2600
        __finally23:
3442
 
#line 375 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3443
2601
        g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
3444
 
#line 375 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3445
2602
        g_clear_error (&_inner_error_);
3446
 
#line 375 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3447
2603
        return NULL;
3448
 
#line 3449 "service.c"
3449
2604
}
3450
2605
 
3451
2606
 
3452
2607
static void _vala_GValue_free (GValue* self) {
3453
 
#line 429 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3454
2608
        g_value_unset (self);
3455
 
#line 429 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3456
2609
        g_free (self);
3457
 
#line 3458 "service.c"
3458
2610
}
3459
2611
 
3460
2612
 
3461
2613
static GValue* _g_value_dup (GValue* self) {
3462
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3463
2614
        return g_boxed_copy (G_TYPE_VALUE, self);
3464
 
#line 3465 "service.c"
3465
2615
}
3466
2616
 
3467
2617
 
3468
2618
static gpointer __g_value_dup0 (gpointer self) {
3469
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3470
2619
        return self ? _g_value_dup (self) : NULL;
3471
 
#line 3472 "service.c"
3472
2620
}
3473
2621
 
3474
2622
 
3479
2627
        GDestroyNotify _tmp2_;
3480
2628
        GHashTable* _tmp3_;
3481
2629
        GError * _inner_error_ = NULL;
3482
 
#line 410 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3483
2630
        g_return_val_if_fail (self != NULL, NULL);
3484
 
#line 412 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3485
2631
        _tmp0_ = g_str_hash;
3486
 
#line 412 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3487
2632
        _tmp1_ = g_str_equal;
3488
 
#line 412 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3489
2633
        _tmp2_ = g_free;
3490
 
#line 412 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3491
2634
        _tmp3_ = g_hash_table_new_full (_tmp0_, _tmp1_, _tmp2_, _g_hash_table_remove_all_gdestroy_notify);
3492
 
#line 412 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3493
2635
        _g_hash_table_unref0 (self->priv->features_table);
3494
 
#line 412 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3495
2636
        self->priv->features_table = _tmp3_;
3496
 
#line 3497 "service.c"
3497
2637
        {
3498
2638
                ServiceInterface* _tmp4_;
3499
2639
                gchar* _tmp5_ = NULL;
3509
2649
                GList* _tmp16_ = NULL;
3510
2650
                GHashTable* _tmp58_;
3511
2651
                GHashTable* _tmp59_;
3512
 
#line 414 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3513
2652
                _tmp4_ = self->priv->service;
3514
 
#line 414 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3515
2653
                _tmp5_ = service_interface_GetFeatures (_tmp4_, &_inner_error_);
3516
 
#line 414 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3517
2654
                features = _tmp5_;
3518
 
#line 414 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3519
2655
                if (_inner_error_ != NULL) {
3520
 
#line 414 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3521
2656
                        if (_inner_error_->domain == G_IO_ERROR) {
3522
 
#line 3523 "service.c"
3523
2657
                                goto __catch25_g_io_error;
3524
2658
                        }
3525
 
#line 414 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3526
2659
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
3527
 
#line 414 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3528
2660
                        g_clear_error (&_inner_error_);
3529
 
#line 414 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3530
2661
                        return NULL;
3531
 
#line 3532 "service.c"
3532
2662
                }
3533
 
#line 415 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3534
2663
                _tmp6_ = json_parser_new ();
3535
 
#line 415 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3536
2664
                parser = _tmp6_;
3537
 
#line 3538 "service.c"
3538
2665
                {
3539
2666
                        JsonParser* _tmp7_;
3540
2667
                        const gchar* _tmp8_;
3541
 
#line 417 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3542
2668
                        _tmp7_ = parser;
3543
 
#line 417 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3544
2669
                        _tmp8_ = features;
3545
 
#line 417 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3546
2670
                        json_parser_load_from_data (_tmp7_, _tmp8_, (gssize) (-1), &_inner_error_);
3547
 
#line 417 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3548
2671
                        if (_inner_error_ != NULL) {
3549
 
#line 3550 "service.c"
3550
2672
                                goto __catch26_g_error;
3551
2673
                        }
3552
2674
                }
3556
2678
                        GError* e = NULL;
3557
2679
                        GError* _tmp9_;
3558
2680
                        const gchar* _tmp10_;
3559
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3560
2681
                        e = _inner_error_;
3561
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3562
2682
                        _inner_error_ = NULL;
3563
 
#line 419 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3564
2683
                        _tmp9_ = e;
3565
 
#line 419 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3566
2684
                        _tmp10_ = _tmp9_->message;
3567
 
#line 419 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3568
2685
                        g_warning ("service.vala:419: %s", _tmp10_);
3569
 
#line 420 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3570
2686
                        result = NULL;
3571
 
#line 420 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3572
2687
                        _g_error_free0 (e);
3573
 
#line 420 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3574
2688
                        _g_object_unref0 (parser);
3575
 
#line 420 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3576
2689
                        _g_free0 (features);
3577
 
#line 420 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3578
2690
                        return result;
3579
 
#line 3580 "service.c"
3580
2691
                }
3581
2692
                __finally26:
3582
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3583
2693
                if (_inner_error_ != NULL) {
3584
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3585
2694
                        _g_object_unref0 (parser);
3586
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3587
2695
                        _g_free0 (features);
3588
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3589
2696
                        if (_inner_error_->domain == G_IO_ERROR) {
3590
 
#line 3591 "service.c"
3591
2697
                                goto __catch25_g_io_error;
3592
2698
                        }
3593
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3594
2699
                        _g_object_unref0 (parser);
3595
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3596
2700
                        _g_free0 (features);
3597
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3598
2701
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
3599
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3600
2702
                        g_clear_error (&_inner_error_);
3601
 
#line 416 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3602
2703
                        return NULL;
3603
 
#line 3604 "service.c"
3604
2704
                }
3605
 
#line 422 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3606
2705
                _tmp11_ = parser;
3607
 
#line 422 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3608
2706
                _tmp12_ = json_parser_get_root (_tmp11_);
3609
 
#line 422 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3610
2707
                _tmp13_ = json_node_get_object (_tmp12_);
3611
 
#line 422 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3612
2708
                _tmp14_ = __vala_JsonObject_copy0 (_tmp13_);
3613
 
#line 422 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3614
2709
                root_object = _tmp14_;
3615
 
#line 423 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3616
2710
                _tmp15_ = root_object;
3617
 
#line 423 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3618
2711
                _tmp16_ = json_object_get_members (_tmp15_);
3619
 
#line 3620 "service.c"
3620
2712
                {
3621
2713
                        GList* feature_collection = NULL;
3622
2714
                        GList* feature_it = NULL;
3623
 
#line 423 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3624
2715
                        feature_collection = _tmp16_;
3625
 
#line 423 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3626
2716
                        for (feature_it = feature_collection; feature_it != NULL; feature_it = feature_it->next) {
3627
 
#line 3628 "service.c"
3628
2717
                                const gchar* feature = NULL;
3629
 
#line 423 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3630
2718
                                feature = (const gchar*) feature_it->data;
3631
 
#line 3632 "service.c"
3632
2719
                                {
3633
2720
                                        GHashFunc _tmp17_;
3634
2721
                                        GEqualFunc _tmp18_;
3648
2735
                                        gchar* _tmp55_;
3649
2736
                                        GHashTable* _tmp56_;
3650
2737
                                        GHashTable* _tmp57_;
3651
 
#line 424 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3652
2738
                                        _tmp17_ = g_str_hash;
3653
 
#line 424 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3654
2739
                                        _tmp18_ = g_str_equal;
3655
 
#line 424 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3656
2740
                                        _tmp19_ = g_free;
3657
 
#line 424 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3658
2741
                                        _tmp20_ = g_free;
3659
 
#line 424 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3660
2742
                                        _tmp21_ = g_hash_table_new_full (_tmp17_, _tmp18_, _tmp19_, _tmp20_);
3661
 
#line 424 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3662
2743
                                        _g_hash_table_unref0 (self->priv->feature_table);
3663
 
#line 424 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3664
2744
                                        self->priv->feature_table = _tmp21_;
3665
 
#line 425 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3666
2745
                                        _tmp22_ = root_object;
3667
 
#line 425 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3668
2746
                                        _tmp23_ = feature;
3669
 
#line 425 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3670
2747
                                        _tmp24_ = json_object_get_member (_tmp22_, _tmp23_);
3671
 
#line 425 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3672
2748
                                        _tmp25_ = json_node_get_object (_tmp24_);
3673
 
#line 425 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3674
2749
                                        _tmp26_ = __vala_JsonObject_copy0 (_tmp25_);
3675
 
#line 425 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3676
2750
                                        features_object = _tmp26_;
3677
 
#line 426 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3678
2751
                                        _tmp27_ = features_object;
3679
 
#line 426 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3680
2752
                                        _tmp28_ = json_object_get_members (_tmp27_);
3681
 
#line 3682 "service.c"
3682
2753
                                        {
3683
2754
                                                GList* member_collection = NULL;
3684
2755
                                                GList* member_it = NULL;
3685
 
#line 426 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3686
2756
                                                member_collection = _tmp28_;
3687
 
#line 426 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3688
2757
                                                for (member_it = member_collection; member_it != NULL; member_it = member_it->next) {
3689
 
#line 3690 "service.c"
3690
2758
                                                        const gchar* member = NULL;
3691
 
#line 426 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3692
2759
                                                        member = (const gchar*) member_it->data;
3693
 
#line 3694 "service.c"
3694
2760
                                                        {
3695
2761
                                                                GValue* value;
3696
2762
                                                                JsonObject* _tmp29_;
3702
2768
                                                                gchar* _tmp50_;
3703
2769
                                                                GValue* _tmp51_;
3704
2770
                                                                GValue* _tmp52_;
3705
 
#line 427 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3706
2771
                                                                value = NULL;
3707
 
#line 428 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3708
2772
                                                                _tmp29_ = features_object;
3709
 
#line 428 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3710
2773
                                                                _tmp30_ = member;
3711
 
#line 428 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3712
2774
                                                                _tmp31_ = json_object_get_member (_tmp29_, _tmp30_);
3713
 
#line 428 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3714
2775
                                                                _tmp32_ = json_node_is_null (_tmp31_);
3715
 
#line 428 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3716
2776
                                                                if (_tmp32_) {
3717
 
#line 429 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3718
2777
                                                                        __vala_GValue_free0 (value);
3719
 
#line 429 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3720
2778
                                                                        continue;
3721
 
#line 3722 "service.c"
3722
2779
                                                                } else {
3723
2780
                                                                        JsonObject* _tmp33_;
3724
2781
                                                                        const gchar* _tmp34_;
3725
2782
                                                                        JsonNode* _tmp35_ = NULL;
3726
2783
                                                                        const gchar* _tmp36_ = NULL;
3727
 
#line 430 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3728
2784
                                                                        _tmp33_ = features_object;
3729
 
#line 430 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3730
2785
                                                                        _tmp34_ = member;
3731
 
#line 430 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3732
2786
                                                                        _tmp35_ = json_object_get_member (_tmp33_, _tmp34_);
3733
 
#line 430 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3734
2787
                                                                        _tmp36_ = json_node_type_name (_tmp35_);
3735
 
#line 430 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3736
2788
                                                                        if (g_strcmp0 (_tmp36_, "gboolean") == 0) {
3737
 
#line 3738 "service.c"
3738
2789
                                                                                JsonObject* _tmp37_;
3739
2790
                                                                                const gchar* _tmp38_;
3740
2791
                                                                                JsonNode* _tmp39_ = NULL;
3741
2792
                                                                                gboolean _tmp40_ = FALSE;
3742
2793
                                                                                GValue* _tmp41_ = NULL;
3743
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3744
2794
                                                                                _tmp37_ = features_object;
3745
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3746
2795
                                                                                _tmp38_ = member;
3747
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3748
2796
                                                                                _tmp39_ = json_object_get_member (_tmp37_, _tmp38_);
3749
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3750
2797
                                                                                _tmp40_ = json_node_get_boolean (_tmp39_);
3751
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3752
2798
                                                                                _tmp41_ = g_new0 (GValue, 1);
3753
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3754
2799
                                                                                g_value_init (_tmp41_, G_TYPE_BOOLEAN);
3755
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3756
2800
                                                                                g_value_set_boolean (_tmp41_, _tmp40_);
3757
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3758
2801
                                                                                __vala_GValue_free0 (value);
3759
 
#line 431 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3760
2802
                                                                                value = _tmp41_;
3761
 
#line 3762 "service.c"
3762
2803
                                                                        } else {
3763
2804
                                                                                JsonObject* _tmp42_;
3764
2805
                                                                                const gchar* _tmp43_;
3766
2807
                                                                                GValue _tmp45_ = {0};
3767
2808
                                                                                GValue _tmp46_;
3768
2809
                                                                                GValue* _tmp47_;
3769
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3770
2810
                                                                                _tmp42_ = features_object;
3771
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3772
2811
                                                                                _tmp43_ = member;
3773
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3774
2812
                                                                                _tmp44_ = json_object_get_member (_tmp42_, _tmp43_);
3775
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3776
2813
                                                                                json_node_get_value (_tmp44_, &_tmp45_);
3777
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3778
2814
                                                                                _tmp46_ = _tmp45_;
3779
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3780
2815
                                                                                _tmp47_ = __g_value_dup0 (&_tmp46_);
3781
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3782
2816
                                                                                __vala_GValue_free0 (value);
3783
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3784
2817
                                                                                value = _tmp47_;
3785
 
#line 433 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3786
2818
                                                                                G_IS_VALUE (&_tmp46_) ? (g_value_unset (&_tmp46_), NULL) : NULL;
3787
 
#line 3788 "service.c"
3788
2819
                                                                        }
3789
2820
                                                                }
3790
 
#line 435 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3791
2821
                                                                _tmp48_ = self->priv->feature_table;
3792
 
#line 435 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3793
2822
                                                                _tmp49_ = member;
3794
 
#line 435 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3795
2823
                                                                _tmp50_ = g_strdup (_tmp49_);
3796
 
#line 435 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3797
2824
                                                                _tmp51_ = value;
3798
 
#line 435 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3799
2825
                                                                _tmp52_ = __g_value_dup0 (_tmp51_);
3800
 
#line 435 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3801
2826
                                                                g_hash_table_insert (_tmp48_, _tmp50_, _tmp52_);
3802
 
#line 426 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3803
2827
                                                                __vala_GValue_free0 (value);
3804
 
#line 3805 "service.c"
3805
2828
                                                        }
3806
2829
                                                }
3807
 
#line 426 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3808
2830
                                                _g_list_free0 (member_collection);
3809
 
#line 3810 "service.c"
3810
2831
                                        }
3811
 
#line 437 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3812
2832
                                        _tmp53_ = self->priv->features_table;
3813
 
#line 437 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3814
2833
                                        _tmp54_ = feature;
3815
 
#line 437 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3816
2834
                                        _tmp55_ = g_strdup (_tmp54_);
3817
 
#line 437 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3818
2835
                                        _tmp56_ = self->priv->feature_table;
3819
 
#line 437 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3820
2836
                                        _tmp57_ = _g_hash_table_ref0 (_tmp56_);
3821
 
#line 437 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3822
2837
                                        g_hash_table_insert (_tmp53_, _tmp55_, _tmp57_);
3823
 
#line 423 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3824
2838
                                        __vala_JsonObject_free0 (features_object);
3825
 
#line 3826 "service.c"
3826
2839
                                }
3827
2840
                        }
3828
 
#line 423 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3829
2841
                        _g_list_free0 (feature_collection);
3830
 
#line 3831 "service.c"
3831
2842
                }
3832
 
#line 439 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3833
2843
                _tmp58_ = self->priv->features_table;
3834
 
#line 439 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3835
2844
                _tmp59_ = _g_hash_table_ref0 (_tmp58_);
3836
 
#line 439 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3837
2845
                result = _tmp59_;
3838
 
#line 439 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3839
2846
                __vala_JsonObject_free0 (root_object);
3840
 
#line 439 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3841
2847
                _g_object_unref0 (parser);
3842
 
#line 439 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3843
2848
                _g_free0 (features);
3844
 
#line 439 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3845
2849
                return result;
3846
 
#line 3847 "service.c"
3847
2850
        }
3848
2851
        goto __finally25;
3849
2852
        __catch25_g_io_error:
3851
2854
                GError* e = NULL;
3852
2855
                GError* _tmp60_;
3853
2856
                const gchar* _tmp61_;
3854
 
#line 413 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3855
2857
                e = _inner_error_;
3856
 
#line 413 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3857
2858
                _inner_error_ = NULL;
3858
 
#line 441 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3859
2859
                _tmp60_ = e;
3860
 
#line 441 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3861
2860
                _tmp61_ = _tmp60_->message;
3862
 
#line 441 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3863
2861
                g_warning ("service.vala:441: %s", _tmp61_);
3864
 
#line 442 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3865
2862
                result = NULL;
3866
 
#line 442 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3867
2863
                _g_error_free0 (e);
3868
 
#line 442 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3869
2864
                return result;
3870
 
#line 3871 "service.c"
3871
2865
        }
3872
2866
        __finally25:
3873
 
#line 413 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3874
2867
        g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
3875
 
#line 413 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3876
2868
        g_clear_error (&_inner_error_);
3877
 
#line 413 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3878
2869
        return NULL;
3879
 
#line 3880 "service.c"
3880
2870
}
3881
2871
 
3882
2872
 
3889
2879
        gchar* result = NULL;
3890
2880
        gchar* _tmp5_;
3891
2881
        GError * _inner_error_ = NULL;
3892
 
#line 452 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3893
2882
        g_return_val_if_fail (self != NULL, NULL);
3894
 
#line 3895 "service.c"
3895
2883
        {
3896
2884
                ServiceInterface* _tmp0_;
3897
2885
                gchar* _tmp1_ = NULL;
3898
2886
                gchar* _tmp2_;
3899
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3900
2887
                _tmp0_ = self->priv->service;
3901
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3902
2888
                _tmp1_ = service_interface_GetVersion (_tmp0_, &_inner_error_);
3903
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3904
2889
                _tmp2_ = _tmp1_;
3905
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3906
2890
                if (_inner_error_ != NULL) {
3907
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3908
2891
                        if (_inner_error_->domain == G_IO_ERROR) {
3909
 
#line 3910 "service.c"
3910
2892
                                goto __catch27_g_io_error;
3911
2893
                        }
3912
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3913
2894
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
3914
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3915
2895
                        g_clear_error (&_inner_error_);
3916
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3917
2896
                        return NULL;
3918
 
#line 3919 "service.c"
3919
2897
                }
3920
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3921
2898
                result = _tmp2_;
3922
 
#line 455 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3923
2899
                return result;
3924
 
#line 3925 "service.c"
3925
2900
        }
3926
2901
        goto __finally27;
3927
2902
        __catch27_g_io_error:
3929
2904
                GError* e = NULL;
3930
2905
                GError* _tmp3_;
3931
2906
                const gchar* _tmp4_;
3932
 
#line 454 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3933
2907
                e = _inner_error_;
3934
 
#line 454 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3935
2908
                _inner_error_ = NULL;
3936
 
#line 457 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3937
2909
                _tmp3_ = e;
3938
 
#line 457 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3939
2910
                _tmp4_ = _tmp3_->message;
3940
 
#line 457 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3941
2911
                g_warning ("service.vala:457: %s", _tmp4_);
3942
 
#line 454 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3943
2912
                _g_error_free0 (e);
3944
 
#line 3945 "service.c"
3945
2913
        }
3946
2914
        __finally27:
3947
 
#line 454 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3948
2915
        if (_inner_error_ != NULL) {
3949
 
#line 454 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3950
2916
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
3951
 
#line 454 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3952
2917
                g_clear_error (&_inner_error_);
3953
 
#line 454 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3954
2918
                return NULL;
3955
 
#line 3956 "service.c"
3956
2919
        }
3957
 
#line 459 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3958
2920
        _tmp5_ = g_strdup ("");
3959
 
#line 459 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3960
2921
        result = _tmp5_;
3961
 
#line 459 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3962
2922
        return result;
3963
 
#line 3964 "service.c"
3964
2923
}
3965
2924
 
3966
2925
 
3985
2944
        GFile* _tmp8_;
3986
2945
        gboolean _tmp9_ = FALSE;
3987
2946
        GError * _inner_error_ = NULL;
3988
 
#line 468 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3989
2947
        g_return_val_if_fail (self != NULL, NULL);
3990
 
#line 468 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3991
2948
        g_return_val_if_fail (url != NULL, NULL);
3992
 
#line 470 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3993
2949
        _tmp0_ = g_get_user_cache_dir ();
3994
 
#line 470 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3995
2950
        _tmp1_ = url;
3996
 
#line 470 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3997
2951
        _tmp2_ = g_compute_checksum_for_string (G_CHECKSUM_SHA1, _tmp1_, (gsize) (-1));
3998
 
#line 470 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
3999
2952
        _tmp3_ = _tmp2_;
4000
 
#line 470 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4001
2953
        _tmp4_ = g_build_path (G_DIR_SEPARATOR_S, _tmp0_, "gwibber/avatars", _tmp3_, NULL);
4002
 
#line 470 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4003
2954
        _tmp5_ = _tmp4_;
4004
 
#line 470 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4005
2955
        _g_free0 (_tmp3_);
4006
 
#line 470 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4007
2956
        _avatar_cache_image = _tmp5_;
4008
 
#line 471 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4009
2957
        _tmp6_ = _avatar_cache_image;
4010
 
#line 471 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4011
2958
        _tmp7_ = g_file_new_for_path (_tmp6_);
4012
 
#line 471 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4013
2959
        file = _tmp7_;
4014
 
#line 472 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4015
2960
        _tmp8_ = file;
4016
 
#line 472 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4017
2961
        _tmp9_ = g_file_query_exists (_tmp8_, NULL);
4018
 
#line 472 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4019
2962
        if (_tmp9_) {
4020
 
#line 473 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4021
2963
                result = _avatar_cache_image;
4022
 
#line 473 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4023
2964
                _g_object_unref0 (file);
4024
 
#line 473 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4025
2965
                return result;
4026
 
#line 4027 "service.c"
4027
2966
        } else {
4028
2967
                ServiceInterface* _tmp10_;
4029
2968
                const gchar* _tmp11_;
4030
2969
                gchar* _tmp12_ = NULL;
4031
2970
                gchar* _tmp13_;
4032
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4033
2971
                _tmp10_ = self->priv->service;
4034
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4035
2972
                _tmp11_ = url;
4036
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4037
2973
                _tmp12_ = service_interface_GetAvatarPath (_tmp10_, _tmp11_, &_inner_error_);
4038
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4039
2974
                _tmp13_ = _tmp12_;
4040
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4041
2975
                if (_inner_error_ != NULL) {
4042
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4043
2976
                        g_propagate_error (error, _inner_error_);
4044
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4045
2977
                        _g_object_unref0 (file);
4046
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4047
2978
                        _g_free0 (_avatar_cache_image);
4048
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4049
2979
                        return NULL;
4050
 
#line 4051 "service.c"
4051
2980
                }
4052
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4053
2981
                _g_free0 (_avatar_cache_image);
4054
 
#line 475 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4055
2982
                _avatar_cache_image = _tmp13_;
4056
 
#line 4057 "service.c"
4057
2983
        }
4058
 
#line 476 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4059
2984
        result = _avatar_cache_image;
4060
 
#line 476 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4061
2985
        _g_object_unref0 (file);
4062
 
#line 476 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4063
2986
        return result;
4064
 
#line 4065 "service.c"
4065
2987
}
4066
2988
 
4067
2989
 
4068
2990
void gwibber_service_perform (GwibberService* self, const gchar* id, GError** error) {
4069
2991
        GError * _inner_error_ = NULL;
4070
 
#line 479 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4071
2992
        g_return_if_fail (self != NULL);
4072
 
#line 479 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4073
2993
        g_return_if_fail (id != NULL);
4074
 
#line 4075 "service.c"
4075
2994
        {
4076
2995
                ServiceInterface* _tmp0_;
4077
2996
                const gchar* _tmp1_;
4079
2998
                gchar* _tmp3_;
4080
2999
                gchar* _tmp4_;
4081
3000
                gchar* _tmp5_;
4082
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4083
3001
                _tmp0_ = self->priv->service;
4084
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4085
3002
                _tmp1_ = id;
4086
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4087
3003
                _tmp2_ = g_strconcat ("{\"id\": \"", _tmp1_, NULL);
4088
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4089
3004
                _tmp3_ = _tmp2_;
4090
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4091
3005
                _tmp4_ = g_strconcat (_tmp3_, "\"}", NULL);
4092
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4093
3006
                _tmp5_ = _tmp4_;
4094
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4095
3007
                service_interface_PerformOp (_tmp0_, _tmp5_, &_inner_error_);
4096
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4097
3008
                _g_free0 (_tmp5_);
4098
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4099
3009
                _g_free0 (_tmp3_);
4100
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4101
3010
                if (_inner_error_ != NULL) {
4102
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4103
3011
                        if (_inner_error_->domain == G_IO_ERROR) {
4104
 
#line 4105 "service.c"
4105
3012
                                goto __catch28_g_io_error;
4106
3013
                        }
4107
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4108
3014
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4109
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4110
3015
                        g_clear_error (&_inner_error_);
4111
 
#line 482 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4112
3016
                        return;
4113
 
#line 4114 "service.c"
4114
3017
                }
4115
3018
        }
4116
3019
        goto __finally28;
4119
3022
                GError* e = NULL;
4120
3023
                GError* _tmp6_;
4121
3024
                const gchar* _tmp7_;
4122
 
#line 481 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4123
3025
                e = _inner_error_;
4124
 
#line 481 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4125
3026
                _inner_error_ = NULL;
4126
 
#line 484 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4127
3027
                _tmp6_ = e;
4128
 
#line 484 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4129
3028
                _tmp7_ = _tmp6_->message;
4130
 
#line 484 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4131
3029
                g_warning ("service.vala:484: %s", _tmp7_);
4132
 
#line 481 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4133
3030
                _g_error_free0 (e);
4134
 
#line 4135 "service.c"
4135
3031
        }
4136
3032
        __finally28:
4137
 
#line 481 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4138
3033
        if (_inner_error_ != NULL) {
4139
 
#line 481 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4140
3034
                g_propagate_error (error, _inner_error_);
4141
 
#line 481 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4142
3035
                return;
4143
 
#line 4144 "service.c"
4144
3036
        }
4145
3037
}
4146
3038
 
4150
3042
        gchar* action;
4151
3043
        gboolean _tmp1_;
4152
3044
        GError * _inner_error_ = NULL;
4153
 
#line 489 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4154
3045
        g_return_if_fail (self != NULL);
4155
 
#line 489 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4156
3046
        g_return_if_fail (account != NULL);
4157
 
#line 489 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4158
3047
        g_return_if_fail (screen_name != NULL);
4159
 
#line 491 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4160
3048
        _tmp0_ = g_strdup ("unfollow");
4161
 
#line 491 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4162
3049
        action = _tmp0_;
4163
 
#line 492 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4164
3050
        _tmp1_ = follow;
4165
 
#line 492 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4166
3051
        if (_tmp1_) {
4167
 
#line 4168 "service.c"
4168
3052
                gchar* _tmp2_;
4169
 
#line 493 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4170
3053
                _tmp2_ = g_strdup ("follow");
4171
 
#line 493 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4172
3054
                _g_free0 (action);
4173
 
#line 493 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4174
3055
                action = _tmp2_;
4175
 
#line 4176 "service.c"
4176
3056
        }
4177
3057
        {
4178
3058
                ServiceInterface* _tmp3_;
4191
3071
                gchar* _tmp16_;
4192
3072
                gchar* _tmp17_;
4193
3073
                gchar* _tmp18_;
4194
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4195
3074
                _tmp3_ = self->priv->service;
4196
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4197
3075
                _tmp4_ = account;
4198
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4199
3076
                _tmp5_ = g_strconcat ("{\"account\": \"", _tmp4_, NULL);
4200
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4201
3077
                _tmp6_ = _tmp5_;
4202
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4203
3078
                _tmp7_ = g_strconcat (_tmp6_, "\", \"operation\": \"", NULL);
4204
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4205
3079
                _tmp8_ = _tmp7_;
4206
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4207
3080
                _tmp9_ = action;
4208
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4209
3081
                _tmp10_ = g_strconcat (_tmp8_, _tmp9_, NULL);
4210
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4211
3082
                _tmp11_ = _tmp10_;
4212
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4213
3083
                _tmp12_ = g_strconcat (_tmp11_, "\", \"args\": {\"screen_name\": \"", NULL);
4214
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4215
3084
                _tmp13_ = _tmp12_;
4216
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4217
3085
                _tmp14_ = screen_name;
4218
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4219
3086
                _tmp15_ = g_strconcat (_tmp13_, _tmp14_, NULL);
4220
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4221
3087
                _tmp16_ = _tmp15_;
4222
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4223
3088
                _tmp17_ = g_strconcat (_tmp16_, "\"}}", NULL);
4224
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4225
3089
                _tmp18_ = _tmp17_;
4226
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4227
3090
                service_interface_PerformOp (_tmp3_, _tmp18_, &_inner_error_);
4228
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4229
3091
                _g_free0 (_tmp18_);
4230
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4231
3092
                _g_free0 (_tmp16_);
4232
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4233
3093
                _g_free0 (_tmp13_);
4234
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4235
3094
                _g_free0 (_tmp11_);
4236
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4237
3095
                _g_free0 (_tmp8_);
4238
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4239
3096
                _g_free0 (_tmp6_);
4240
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4241
3097
                if (_inner_error_ != NULL) {
4242
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4243
3098
                        if (_inner_error_->domain == G_IO_ERROR) {
4244
 
#line 4245 "service.c"
4245
3099
                                goto __catch29_g_io_error;
4246
3100
                        }
4247
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4248
3101
                        _g_free0 (action);
4249
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4250
3102
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4251
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4252
3103
                        g_clear_error (&_inner_error_);
4253
 
#line 496 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4254
3104
                        return;
4255
 
#line 4256 "service.c"
4256
3105
                }
4257
3106
        }
4258
3107
        goto __finally29;
4261
3110
                GError* e = NULL;
4262
3111
                GError* _tmp19_;
4263
3112
                const gchar* _tmp20_;
4264
 
#line 495 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4265
3113
                e = _inner_error_;
4266
 
#line 495 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4267
3114
                _inner_error_ = NULL;
4268
 
#line 498 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4269
3115
                _tmp19_ = e;
4270
 
#line 498 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4271
3116
                _tmp20_ = _tmp19_->message;
4272
 
#line 498 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4273
3117
                g_warning ("service.vala:498: %s", _tmp20_);
4274
 
#line 495 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4275
3118
                _g_error_free0 (e);
4276
 
#line 4277 "service.c"
4277
3119
        }
4278
3120
        __finally29:
4279
 
#line 495 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4280
3121
        if (_inner_error_ != NULL) {
4281
 
#line 495 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4282
3122
                g_propagate_error (error, _inner_error_);
4283
 
#line 495 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4284
3123
                _g_free0 (action);
4285
 
#line 495 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4286
3124
                return;
4287
 
#line 4288 "service.c"
4288
3125
        }
4289
 
#line 489 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4290
3126
        _g_free0 (action);
4291
 
#line 4292 "service.c"
4292
3127
}
4293
3128
 
4294
3129
 
4295
3130
void gwibber_service_update_indicators (GwibberService* self, const gchar* stream) {
4296
3131
        const gchar* _tmp0_;
4297
3132
        GError * _inner_error_ = NULL;
4298
 
#line 502 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4299
3133
        g_return_if_fail (self != NULL);
4300
 
#line 504 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4301
3134
        _tmp0_ = stream;
4302
 
#line 504 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4303
3135
        if (_tmp0_ == NULL) {
4304
 
#line 505 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4305
3136
                stream = "home";
4306
 
#line 4307 "service.c"
4307
3137
        }
4308
3138
        {
4309
3139
                ServiceInterface* _tmp1_;
4310
3140
                const gchar* _tmp2_;
4311
 
#line 507 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4312
3141
                _tmp1_ = self->priv->service;
4313
 
#line 507 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4314
3142
                _tmp2_ = stream;
4315
 
#line 507 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4316
3143
                service_interface_UpdateIndicators (_tmp1_, _tmp2_, &_inner_error_);
4317
 
#line 507 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4318
3144
                if (_inner_error_ != NULL) {
4319
 
#line 507 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4320
3145
                        if (_inner_error_->domain == G_IO_ERROR) {
4321
 
#line 4322 "service.c"
4322
3146
                                goto __catch30_g_io_error;
4323
3147
                        }
4324
 
#line 507 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4325
3148
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4326
 
#line 507 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4327
3149
                        g_clear_error (&_inner_error_);
4328
 
#line 507 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4329
3150
                        return;
4330
 
#line 4331 "service.c"
4331
3151
                }
4332
3152
        }
4333
3153
        goto __finally30;
4336
3156
                GError* e = NULL;
4337
3157
                GError* _tmp3_;
4338
3158
                const gchar* _tmp4_;
4339
 
#line 506 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4340
3159
                e = _inner_error_;
4341
 
#line 506 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4342
3160
                _inner_error_ = NULL;
4343
 
#line 509 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4344
3161
                _tmp3_ = e;
4345
 
#line 509 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4346
3162
                _tmp4_ = _tmp3_->message;
4347
 
#line 509 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4348
3163
                g_warning ("service.vala:509: %s", _tmp4_);
4349
 
#line 506 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4350
3164
                _g_error_free0 (e);
4351
 
#line 4352 "service.c"
4352
3165
        }
4353
3166
        __finally30:
4354
 
#line 506 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4355
3167
        if (_inner_error_ != NULL) {
4356
 
#line 506 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4357
3168
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4358
 
#line 506 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4359
3169
                g_clear_error (&_inner_error_);
4360
 
#line 506 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4361
3170
                return;
4362
 
#line 4363 "service.c"
4363
3171
        }
4364
3172
}
4365
3173
 
4366
3174
 
4367
3175
GwibberService* gwibber_service_construct (GType object_type) {
4368
3176
        GwibberService * self = NULL;
4369
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4370
3177
        self = (GwibberService*) g_object_new (object_type, NULL);
4371
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4372
3178
        return self;
4373
 
#line 4374 "service.c"
4374
3179
}
4375
3180
 
4376
3181
 
4377
3182
GwibberService* gwibber_service_new (void) {
4378
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4379
3183
        return gwibber_service_construct (GWIBBER_TYPE_SERVICE);
4380
 
#line 4381 "service.c"
4381
3184
}
4382
3185
 
4383
3186
 
4388
3191
        register gpointer data1;
4389
3192
        register gpointer data2;
4390
3193
        cc = (GCClosure *) closure;
4391
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4392
3194
        g_return_if_fail (n_param_values == 4);
4393
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4394
3195
        if (G_CCLOSURE_SWAP_DATA (closure)) {
4395
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4396
3196
                data1 = closure->data;
4397
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4398
3197
                data2 = param_values->data[0].v_pointer;
4399
 
#line 4400 "service.c"
4400
3198
        } else {
4401
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4402
3199
                data1 = param_values->data[0].v_pointer;
4403
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4404
3200
                data2 = closure->data;
4405
 
#line 4406 "service.c"
4406
3201
        }
4407
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4408
3202
        callback = (GMarshalFunc_VOID__STRING_STRING_STRING) (marshal_data ? marshal_data : cc->callback);
4409
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4410
3203
        callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_string (param_values + 3), data2);
4411
 
#line 4412 "service.c"
4412
3204
}
4413
3205
 
4414
3206
 
4415
3207
static void _gwibber_service_service_available_gwibber_utils_available (GwibberUtils* _sender, gboolean up, gpointer self) {
4416
 
#line 101 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4417
3208
        gwibber_service_service_available (self, up);
4418
 
#line 4419 "service.c"
4419
3209
}
4420
3210
 
4421
3211
 
4422
3212
static void _gwibber_service_on_loading_started_service_interface_loading_started (ServiceInterface* _sender, gpointer self) {
4423
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4424
3213
        gwibber_service_on_loading_started (self);
4425
 
#line 4426 "service.c"
4426
3214
}
4427
3215
 
4428
3216
 
4429
3217
static void _gwibber_service_on_loading_complete_service_interface_loading_complete (ServiceInterface* _sender, gpointer self) {
4430
 
#line 103 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4431
3218
        gwibber_service_on_loading_complete (self);
4432
 
#line 4433 "service.c"
4433
3219
}
4434
3220
 
4435
3221
 
4436
3222
static void _gwibber_service____lambda6_ (GwibberService* self, const gchar* source) {
4437
3223
        const gchar* _tmp0_;
4438
 
#line 104 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4439
3224
        g_return_if_fail (source != NULL);
4440
 
#line 105 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4441
3225
        _tmp0_ = source;
4442
 
#line 105 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4443
3226
        gwibber_service_on_error (self, _tmp0_);
4444
 
#line 4445 "service.c"
4445
3227
}
4446
3228
 
4447
3229
 
4448
3230
static void __gwibber_service____lambda6__service_interface_error (ServiceInterface* _sender, const gchar* error_str, gpointer self) {
4449
 
#line 104 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4450
3231
        _gwibber_service____lambda6_ (self, error_str);
4451
 
#line 4452 "service.c"
4452
3232
}
4453
3233
 
4454
3234
 
4458
3238
        GwibberService * self;
4459
3239
        GwibberMessages* _tmp12_;
4460
3240
        GError * _inner_error_ = NULL;
4461
 
#line 90 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4462
3241
        parent_class = G_OBJECT_CLASS (gwibber_service_parent_class);
4463
 
#line 90 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4464
3242
        obj = parent_class->constructor (type, n_construct_properties, construct_properties);
4465
 
#line 90 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4466
3243
        self = GWIBBER_SERVICE (obj);
4467
 
#line 4468 "service.c"
4468
3244
        {
4469
3245
                ServiceInterface* _tmp0_ = NULL;
4470
3246
                ServiceInterface* _tmp1_;
4474
3250
                ServiceInterface* _tmp5_;
4475
3251
                ServiceInterface* _tmp6_;
4476
3252
                ServiceInterface* _tmp7_;
4477
 
#line 94 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4478
3253
                _tmp0_ = g_initable_new (TYPE_SERVICE_INTERFACE_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", GWIBBER_SERVICE_service_name, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", GWIBBER_SERVICE_service_path, "g-interface-name", "com.Gwibber.Service", NULL);
4479
 
#line 94 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4480
3254
                _tmp1_ = (ServiceInterface*) _tmp0_;
4481
 
#line 94 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4482
3255
                if (_inner_error_ != NULL) {
4483
 
#line 94 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4484
3256
                        if (_inner_error_->domain == G_IO_ERROR) {
4485
 
#line 4486 "service.c"
4486
3257
                                goto __catch31_g_io_error;
4487
3258
                        }
4488
 
#line 94 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4489
3259
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4490
 
#line 94 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4491
3260
                        g_clear_error (&_inner_error_);
4492
 
#line 4493 "service.c"
4493
3261
                }
4494
 
#line 94 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4495
3262
                _g_object_unref0 (self->priv->service);
4496
 
#line 94 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4497
3263
                self->priv->service = _tmp1_;
4498
 
#line 99 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4499
3264
                _tmp2_ = gwibber_utils_new ();
4500
 
#line 99 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4501
3265
                _g_object_unref0 (self->priv->utils);
4502
 
#line 99 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4503
3266
                self->priv->utils = _tmp2_;
4504
 
#line 100 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4505
3267
                _tmp3_ = self->priv->utils;
4506
 
#line 100 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4507
3268
                gwibber_utils_setup (_tmp3_, GWIBBER_SERVICE_service_name, &_inner_error_);
4508
 
#line 100 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4509
3269
                if (_inner_error_ != NULL) {
4510
 
#line 100 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4511
3270
                        if (_inner_error_->domain == G_IO_ERROR) {
4512
 
#line 4513 "service.c"
4513
3271
                                goto __catch31_g_io_error;
4514
3272
                        }
4515
 
#line 100 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4516
3273
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4517
 
#line 100 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4518
3274
                        g_clear_error (&_inner_error_);
4519
 
#line 4520 "service.c"
4520
3275
                }
4521
 
#line 101 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4522
3276
                _tmp4_ = self->priv->utils;
4523
 
#line 101 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4524
3277
                g_signal_connect_object (_tmp4_, "available", (GCallback) _gwibber_service_service_available_gwibber_utils_available, self, 0);
4525
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4526
3278
                _tmp5_ = self->priv->service;
4527
 
#line 102 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4528
3279
                g_signal_connect_object (_tmp5_, "loading-started", (GCallback) _gwibber_service_on_loading_started_service_interface_loading_started, self, 0);
4529
 
#line 103 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4530
3280
                _tmp6_ = self->priv->service;
4531
 
#line 103 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4532
3281
                g_signal_connect_object (_tmp6_, "loading-complete", (GCallback) _gwibber_service_on_loading_complete_service_interface_loading_complete, self, 0);
4533
 
#line 104 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4534
3282
                _tmp7_ = self->priv->service;
4535
 
#line 104 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4536
3283
                g_signal_connect_object (_tmp7_, "error", (GCallback) __gwibber_service____lambda6__service_interface_error, self, 0);
4537
 
#line 4538 "service.c"
4538
3284
        }
4539
3285
        goto __finally31;
4540
3286
        __catch31_g_io_error:
4544
3290
                const gchar* _tmp9_;
4545
3291
                gchar* _tmp10_;
4546
3292
                gchar* _tmp11_;
4547
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4548
3293
                e = _inner_error_;
4549
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4550
3294
                _inner_error_ = NULL;
4551
 
#line 111 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4552
3295
                _tmp8_ = e;
4553
 
#line 111 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4554
3296
                _tmp9_ = _tmp8_->message;
4555
 
#line 111 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4556
3297
                _tmp10_ = g_strconcat ("Unable to get Gwibber service: ", _tmp9_, NULL);
4557
 
#line 111 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4558
3298
                _tmp11_ = _tmp10_;
4559
 
#line 111 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4560
3299
                g_warning ("service.vala:111: %s", _tmp11_);
4561
 
#line 111 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4562
3300
                _g_free0 (_tmp11_);
4563
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4564
3301
                _g_error_free0 (e);
4565
 
#line 4566 "service.c"
4566
3302
        }
4567
3303
        __finally31:
4568
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4569
3304
        if (_inner_error_ != NULL) {
4570
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4571
3305
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4572
 
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4573
3306
                g_clear_error (&_inner_error_);
4574
 
#line 4575 "service.c"
4575
3307
        }
4576
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4577
3308
        _tmp12_ = gwibber_messages_new ();
4578
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4579
3309
        _g_object_unref0 (self->priv->messages);
4580
 
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4581
3310
        self->priv->messages = _tmp12_;
4582
 
#line 90 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4583
3311
        return obj;
4584
 
#line 4585 "service.c"
4585
3312
}
4586
3313
 
4587
3314
 
4588
3315
static void gwibber_service_class_init (GwibberServiceClass * klass) {
4589
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4590
3316
        gwibber_service_parent_class = g_type_class_peek_parent (klass);
4591
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4592
3317
        g_type_class_add_private (klass, sizeof (GwibberServicePrivate));
4593
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4594
3318
        G_OBJECT_CLASS (klass)->constructor = gwibber_service_constructor;
4595
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4596
3319
        G_OBJECT_CLASS (klass)->finalize = gwibber_service_finalize;
4597
 
#line 4598 "service.c"
4598
3320
        /** 
4599
3321
                    Service::is_available:
4600
3322
                    @arg0: The current state
4601
3323
        
4602
3324
                    Emitted when com.Gwibber.Service availability state changes
4603
3325
                */
4604
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4605
3326
        g_signal_new ("is_available", GWIBBER_TYPE_SERVICE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
4606
 
#line 4607 "service.c"
4607
3327
        /**
4608
3328
                    Service::loading_started:
4609
3329
        
4610
3330
                    Emitted when an operations starts
4611
3331
                */
4612
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4613
3332
        g_signal_new ("loading_started", GWIBBER_TYPE_SERVICE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
4614
 
#line 4615 "service.c"
4615
3333
        /**
4616
3334
                    Service::loading_started:
4617
3335
        
4618
3336
                    Emitted when an operations is complete
4619
3337
                */
4620
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4621
3338
        g_signal_new ("loading_complete", GWIBBER_TYPE_SERVICE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
4622
 
#line 4623 "service.c"
4623
3339
        /**
4624
3340
                    Service::error:
4625
3341
                    @arg0: String containing the account id
4628
3344
        
4629
3345
                    Emitted when an error is received from the service
4630
3346
                */
4631
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4632
3347
        g_signal_new ("error", GWIBBER_TYPE_SERVICE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_STRING, G_TYPE_NONE, 3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
4633
 
#line 4634 "service.c"
4634
3348
}
4635
3349
 
4636
3350
 
4637
3351
static void gwibber_service_instance_init (GwibberService * self) {
4638
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4639
3352
        self->priv = GWIBBER_SERVICE_GET_PRIVATE (self);
4640
 
#line 4641 "service.c"
4641
3353
}
4642
3354
 
4643
3355
 
4644
3356
static void gwibber_service_finalize (GObject* obj) {
4645
3357
        GwibberService * self;
4646
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4647
3358
        self = GWIBBER_SERVICE (obj);
4648
 
#line 50 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4649
3359
        _g_object_unref0 (self->priv->service);
4650
 
#line 51 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4651
3360
        _g_hash_table_unref0 (self->priv->services_table);
4652
 
#line 52 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4653
3361
        _g_hash_table_unref0 (self->priv->service_table);
4654
 
#line 53 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4655
3362
        _g_hash_table_unref0 (self->priv->features_table);
4656
 
#line 54 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4657
3363
        _g_hash_table_unref0 (self->priv->feature_table);
4658
 
#line 55 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4659
3364
        _g_object_unref0 (self->priv->utils);
4660
 
#line 56 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4661
3365
        _g_object_unref0 (self->priv->messages);
4662
 
#line 45 "/storage/1/src/gwibber/trunk/libgwibber/service.vala"
4663
3366
        G_OBJECT_CLASS (gwibber_service_parent_class)->finalize (obj);
4664
 
#line 4665 "service.c"
4665
3367
}
4666
3368
 
4667
3369