~ubuntu-branches/ubuntu/natty/gnome-dvb-daemon/natty

« back to all changes in this revision

Viewing changes to src/dbus/IDBusChannelList.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-04-11 10:51:09 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100411105109-o84nb6bf7slexyq9
Tags: 0.1.16-2
* debian/patches/01_vala-0.8.0.patch:
  + Fix build with Vala 0.8.0, patches from upstream
    bzr (revisions 931, 932, 933) (Closes: #577293).

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
struct _DVBChannelInfo {
48
48
        guint id;
49
49
        char* name;
 
50
        gboolean is_radio;
50
51
};
51
52
 
52
53
struct _DVBIDBusChannelListIface {
142
143
void dvb_channel_info_copy (const DVBChannelInfo* self, DVBChannelInfo* dest) {
143
144
        dest->id = self->id;
144
145
        dest->name = g_strdup (self->name);
 
146
        dest->is_radio = self->is_radio;
145
147
}
146
148
 
147
149
 
241
243
        reply = dbus_message_new_method_return (message);
242
244
        dbus_message_iter_init_append (reply, &iter);
243
245
        xml_data = g_string_new ("<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\" \"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n");
244
 
        g_string_append (xml_data, "<node>\n<interface name=\"org.freedesktop.DBus.Introspectable\">\n  <method name=\"Introspect\">\n    <arg name=\"data\" direction=\"out\" type=\"s\"/>\n  </method>\n</interface>\n<interface name=\"org.freedesktop.DBus.Properties\">\n  <method name=\"Get\">\n    <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n    <arg name=\"propname\" direction=\"in\" type=\"s\"/>\n    <arg name=\"value\" direction=\"out\" type=\"v\"/>\n  </method>\n  <method name=\"Set\">\n    <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n    <arg name=\"propname\" direction=\"in\" type=\"s\"/>\n    <arg name=\"value\" direction=\"in\" type=\"v\"/>\n  </method>\n  <method name=\"GetAll\">\n    <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n    <arg name=\"props\" direction=\"out\" type=\"a{sv}\"/>\n  </method>\n</interface>\n<interface name=\"org.gnome.DVB.ChannelList\">\n  <method name=\"GetChannels\">\n    <arg name=\"result\" type=\"au\" direction=\"out\"/>\n  </method>\n  <method name=\"GetRadioChannels\">\n    <arg name=\"result\" type=\"au\" direction=\"out\"/>\n  </method>\n  <method name=\"GetTVChannels\">\n    <arg name=\"result\" type=\"au\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelName\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"channel_name\" type=\"s\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelNetwork\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"network\" type=\"s\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"IsRadioChannel\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"radio\" type=\"b\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelURL\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"url\" type=\"s\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelInfos\">\n    <arg name=\"result\" type=\"a(us)\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelsOfGroup\">\n    <arg name=\"channel_group_id\" type=\"i\" direction=\"in\"/>\n    <arg name=\"channel_ids\" type=\"au\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"AddChannelToGroup\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"channel_group_id\" type=\"i\" direction=\"in\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"RemoveChannelFromGroup\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"channel_group_id\" type=\"i\" direction=\"in\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <signal name=\"Changed\">\n    <arg name=\"channel_id\" type=\"u\"/>\n    <arg name=\"type\" type=\"u\"/>\n  </signal>\n</interface>\n");
 
246
        g_string_append (xml_data, "<node>\n<interface name=\"org.freedesktop.DBus.Introspectable\">\n  <method name=\"Introspect\">\n    <arg name=\"data\" direction=\"out\" type=\"s\"/>\n  </method>\n</interface>\n<interface name=\"org.freedesktop.DBus.Properties\">\n  <method name=\"Get\">\n    <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n    <arg name=\"propname\" direction=\"in\" type=\"s\"/>\n    <arg name=\"value\" direction=\"out\" type=\"v\"/>\n  </method>\n  <method name=\"Set\">\n    <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n    <arg name=\"propname\" direction=\"in\" type=\"s\"/>\n    <arg name=\"value\" direction=\"in\" type=\"v\"/>\n  </method>\n  <method name=\"GetAll\">\n    <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n    <arg name=\"props\" direction=\"out\" type=\"a{sv}\"/>\n  </method>\n</interface>\n<interface name=\"org.gnome.DVB.ChannelList\">\n  <method name=\"GetChannels\">\n    <arg name=\"result\" type=\"au\" direction=\"out\"/>\n  </method>\n  <method name=\"GetRadioChannels\">\n    <arg name=\"result\" type=\"au\" direction=\"out\"/>\n  </method>\n  <method name=\"GetTVChannels\">\n    <arg name=\"result\" type=\"au\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelName\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"channel_name\" type=\"s\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelNetwork\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"network\" type=\"s\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"IsRadioChannel\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"radio\" type=\"b\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelURL\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"url\" type=\"s\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelInfos\">\n    <arg name=\"result\" type=\"a(usb)\" direction=\"out\"/>\n  </method>\n  <method name=\"GetChannelsOfGroup\">\n    <arg name=\"channel_group_id\" type=\"i\" direction=\"in\"/>\n    <arg name=\"channel_ids\" type=\"au\" direction=\"out\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"AddChannelToGroup\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"channel_group_id\" type=\"i\" direction=\"in\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <method name=\"RemoveChannelFromGroup\">\n    <arg name=\"channel_id\" type=\"u\" direction=\"in\"/>\n    <arg name=\"channel_group_id\" type=\"i\" direction=\"in\"/>\n    <arg name=\"result\" type=\"b\" direction=\"out\"/>\n  </method>\n  <signal name=\"Changed\">\n    <arg name=\"channel_id\" type=\"u\"/>\n    <arg name=\"type\" type=\"u\"/>\n  </signal>\n</interface>\n");
245
247
        dbus_connection_list_registered (connection, g_object_get_data ((GObject *) self, "dbus_object_path"), &children);
246
248
        for (i = 0; children[i]; i++) {
247
249
                g_string_append_printf (xml_data, "<node name=\"%s\"/>\n", children[i]);
1443
1445
        reply = dbus_message_new_method_return (message);
1444
1446
        dbus_message_iter_init_append (reply, &iter);
1445
1447
        _tmp25_ = result;
1446
 
        dbus_message_iter_open_container (&iter, DBUS_TYPE_ARRAY, "(us)", &_tmp26_);
 
1448
        dbus_message_iter_open_container (&iter, DBUS_TYPE_ARRAY, "(usb)", &_tmp26_);
1447
1449
        for (_tmp27_ = 0; _tmp27_ < result_length1; _tmp27_++) {
1448
1450
                DBusMessageIter _tmp28_;
1449
1451
                dbus_uint32_t _tmp29_;
1450
1452
                const char* _tmp30_;
 
1453
                dbus_bool_t _tmp31_;
1451
1454
                dbus_message_iter_open_container (&_tmp26_, DBUS_TYPE_STRUCT, NULL, &_tmp28_);
1452
1455
                _tmp29_ = (*_tmp25_).id;
1453
1456
                dbus_message_iter_append_basic (&_tmp28_, DBUS_TYPE_UINT32, &_tmp29_);
1454
1457
                _tmp30_ = (*_tmp25_).name;
1455
1458
                dbus_message_iter_append_basic (&_tmp28_, DBUS_TYPE_STRING, &_tmp30_);
 
1459
                _tmp31_ = (*_tmp25_).is_radio;
 
1460
                dbus_message_iter_append_basic (&_tmp28_, DBUS_TYPE_BOOLEAN, &_tmp31_);
1456
1461
                dbus_message_iter_close_container (&_tmp26_, &_tmp28_);
1457
1462
                _tmp25_++;
1458
1463
        }
1472
1477
        DBusMessageIter iter;
1473
1478
        GError* error;
1474
1479
        gint channel_group_id = 0;
1475
 
        dbus_int32_t _tmp31_;
 
1480
        dbus_int32_t _tmp32_;
1476
1481
        guint* channel_ids = NULL;
1477
1482
        int channel_ids_length1;
1478
1483
        gboolean result;
1479
1484
        DBusMessage* reply;
1480
 
        guint* _tmp32_;
1481
 
        DBusMessageIter _tmp33_;
1482
 
        int _tmp34_;
1483
 
        dbus_bool_t _tmp36_;
 
1485
        guint* _tmp33_;
 
1486
        DBusMessageIter _tmp34_;
 
1487
        int _tmp35_;
 
1488
        dbus_bool_t _tmp37_;
1484
1489
        error = NULL;
1485
1490
        if (strcmp (dbus_message_get_signature (message), "i")) {
1486
1491
                return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
1487
1492
        }
1488
1493
        dbus_message_iter_init (message, &iter);
1489
 
        dbus_message_iter_get_basic (&iter, &_tmp31_);
 
1494
        dbus_message_iter_get_basic (&iter, &_tmp32_);
1490
1495
        dbus_message_iter_next (&iter);
1491
 
        channel_group_id = _tmp31_;
 
1496
        channel_group_id = _tmp32_;
1492
1497
        channel_ids_length1 = 0;
1493
1498
        result = dvb_id_bus_channel_list_GetChannelsOfGroup (self, channel_group_id, &channel_ids, &channel_ids_length1, &error);
1494
1499
        if (error) {
1601
1606
        }
1602
1607
        reply = dbus_message_new_method_return (message);
1603
1608
        dbus_message_iter_init_append (reply, &iter);
1604
 
        _tmp32_ = channel_ids;
1605
 
        dbus_message_iter_open_container (&iter, DBUS_TYPE_ARRAY, "u", &_tmp33_);
1606
 
        for (_tmp34_ = 0; _tmp34_ < channel_ids_length1; _tmp34_++) {
1607
 
                dbus_uint32_t _tmp35_;
1608
 
                _tmp35_ = *_tmp32_;
1609
 
                dbus_message_iter_append_basic (&_tmp33_, DBUS_TYPE_UINT32, &_tmp35_);
1610
 
                _tmp32_++;
 
1609
        _tmp33_ = channel_ids;
 
1610
        dbus_message_iter_open_container (&iter, DBUS_TYPE_ARRAY, "u", &_tmp34_);
 
1611
        for (_tmp35_ = 0; _tmp35_ < channel_ids_length1; _tmp35_++) {
 
1612
                dbus_uint32_t _tmp36_;
 
1613
                _tmp36_ = *_tmp33_;
 
1614
                dbus_message_iter_append_basic (&_tmp34_, DBUS_TYPE_UINT32, &_tmp36_);
 
1615
                _tmp33_++;
1611
1616
        }
1612
 
        dbus_message_iter_close_container (&iter, &_tmp33_);
 
1617
        dbus_message_iter_close_container (&iter, &_tmp34_);
1613
1618
        channel_ids = (g_free (channel_ids), NULL);
1614
 
        _tmp36_ = result;
1615
 
        dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &_tmp36_);
 
1619
        _tmp37_ = result;
 
1620
        dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &_tmp37_);
1616
1621
        if (reply) {
1617
1622
                dbus_connection_send (connection, reply, NULL);
1618
1623
                dbus_message_unref (reply);
1627
1632
        DBusMessageIter iter;
1628
1633
        GError* error;
1629
1634
        guint channel_id = 0U;
1630
 
        dbus_uint32_t _tmp37_;
 
1635
        dbus_uint32_t _tmp38_;
1631
1636
        gint channel_group_id = 0;
1632
 
        dbus_int32_t _tmp38_;
 
1637
        dbus_int32_t _tmp39_;
1633
1638
        gboolean result;
1634
1639
        DBusMessage* reply;
1635
 
        dbus_bool_t _tmp39_;
 
1640
        dbus_bool_t _tmp40_;
1636
1641
        error = NULL;
1637
1642
        if (strcmp (dbus_message_get_signature (message), "ui")) {
1638
1643
                return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
1639
1644
        }
1640
1645
        dbus_message_iter_init (message, &iter);
1641
 
        dbus_message_iter_get_basic (&iter, &_tmp37_);
1642
 
        dbus_message_iter_next (&iter);
1643
 
        channel_id = _tmp37_;
1644
1646
        dbus_message_iter_get_basic (&iter, &_tmp38_);
1645
1647
        dbus_message_iter_next (&iter);
1646
 
        channel_group_id = _tmp38_;
 
1648
        channel_id = _tmp38_;
 
1649
        dbus_message_iter_get_basic (&iter, &_tmp39_);
 
1650
        dbus_message_iter_next (&iter);
 
1651
        channel_group_id = _tmp39_;
1647
1652
        result = dvb_id_bus_channel_list_AddChannelToGroup (self, channel_id, channel_group_id, &error);
1648
1653
        if (error) {
1649
1654
                if (error->domain == DBUS_GERROR) {
1755
1760
        }
1756
1761
        reply = dbus_message_new_method_return (message);
1757
1762
        dbus_message_iter_init_append (reply, &iter);
1758
 
        _tmp39_ = result;
1759
 
        dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &_tmp39_);
 
1763
        _tmp40_ = result;
 
1764
        dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &_tmp40_);
1760
1765
        if (reply) {
1761
1766
                dbus_connection_send (connection, reply, NULL);
1762
1767
                dbus_message_unref (reply);
1771
1776
        DBusMessageIter iter;
1772
1777
        GError* error;
1773
1778
        guint channel_id = 0U;
1774
 
        dbus_uint32_t _tmp40_;
 
1779
        dbus_uint32_t _tmp41_;
1775
1780
        gint channel_group_id = 0;
1776
 
        dbus_int32_t _tmp41_;
 
1781
        dbus_int32_t _tmp42_;
1777
1782
        gboolean result;
1778
1783
        DBusMessage* reply;
1779
 
        dbus_bool_t _tmp42_;
 
1784
        dbus_bool_t _tmp43_;
1780
1785
        error = NULL;
1781
1786
        if (strcmp (dbus_message_get_signature (message), "ui")) {
1782
1787
                return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
1783
1788
        }
1784
1789
        dbus_message_iter_init (message, &iter);
1785
 
        dbus_message_iter_get_basic (&iter, &_tmp40_);
1786
 
        dbus_message_iter_next (&iter);
1787
 
        channel_id = _tmp40_;
1788
1790
        dbus_message_iter_get_basic (&iter, &_tmp41_);
1789
1791
        dbus_message_iter_next (&iter);
1790
 
        channel_group_id = _tmp41_;
 
1792
        channel_id = _tmp41_;
 
1793
        dbus_message_iter_get_basic (&iter, &_tmp42_);
 
1794
        dbus_message_iter_next (&iter);
 
1795
        channel_group_id = _tmp42_;
1791
1796
        result = dvb_id_bus_channel_list_RemoveChannelFromGroup (self, channel_id, channel_group_id, &error);
1792
1797
        if (error) {
1793
1798
                if (error->domain == DBUS_GERROR) {
1899
1904
        }
1900
1905
        reply = dbus_message_new_method_return (message);
1901
1906
        dbus_message_iter_init_append (reply, &iter);
1902
 
        _tmp42_ = result;
1903
 
        dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &_tmp42_);
 
1907
        _tmp43_ = result;
 
1908
        dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &_tmp43_);
1904
1909
        if (reply) {
1905
1910
                dbus_connection_send (connection, reply, NULL);
1906
1911
                dbus_message_unref (reply);
1953
1958
        const char * _path;
1954
1959
        DBusMessage *_message;
1955
1960
        DBusMessageIter _iter;
1956
 
        dbus_uint32_t _tmp43_;
1957
1961
        dbus_uint32_t _tmp44_;
 
1962
        dbus_uint32_t _tmp45_;
1958
1963
        _path = g_object_get_data (_sender, "dbus_object_path");
1959
1964
        _message = dbus_message_new_signal (_path, "org.gnome.DVB.ChannelList", "Changed");
1960
1965
        dbus_message_iter_init_append (_message, &_iter);
1961
 
        _tmp43_ = channel_id;
1962
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp43_);
1963
 
        _tmp44_ = type;
 
1966
        _tmp44_ = channel_id;
1964
1967
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp44_);
 
1968
        _tmp45_ = type;
 
1969
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp45_);
1965
1970
        dbus_connection_send (_connection, _message, NULL);
1966
1971
        dbus_message_unref (_message);
1967
1972
}
2028
2033
static void _dbus_handle_dvb_id_bus_channel_list_changed (DVBIDBusChannelList* self, DBusConnection* connection, DBusMessage* message) {
2029
2034
        DBusMessageIter iter;
2030
2035
        guint channel_id = 0U;
2031
 
        dbus_uint32_t _tmp45_;
 
2036
        dbus_uint32_t _tmp46_;
2032
2037
        guint type = 0U;
2033
 
        dbus_uint32_t _tmp46_;
 
2038
        dbus_uint32_t _tmp47_;
2034
2039
        DBusMessage* reply;
2035
2040
        if (strcmp (dbus_message_get_signature (message), "uu")) {
2036
2041
                return;
2037
2042
        }
2038
2043
        dbus_message_iter_init (message, &iter);
2039
 
        dbus_message_iter_get_basic (&iter, &_tmp45_);
2040
 
        dbus_message_iter_next (&iter);
2041
 
        channel_id = _tmp45_;
2042
2044
        dbus_message_iter_get_basic (&iter, &_tmp46_);
2043
2045
        dbus_message_iter_next (&iter);
2044
 
        type = _tmp46_;
 
2046
        channel_id = _tmp46_;
 
2047
        dbus_message_iter_get_basic (&iter, &_tmp47_);
 
2048
        dbus_message_iter_next (&iter);
 
2049
        type = _tmp47_;
2045
2050
        g_signal_emit_by_name (self, "changed", channel_id, type);
2046
2051
}
2047
2052
 
2087
2092
        DBusMessageIter _iter;
2088
2093
        guint* _result;
2089
2094
        int _result_length1;
2090
 
        guint* _tmp47_;
2091
 
        int _tmp47__length;
2092
 
        int _tmp47__size;
2093
 
        int _tmp47__length1;
2094
 
        DBusMessageIter _tmp48_;
 
2095
        guint* _tmp48_;
 
2096
        int _tmp48__length;
 
2097
        int _tmp48__size;
 
2098
        int _tmp48__length1;
 
2099
        DBusMessageIter _tmp49_;
2095
2100
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
2096
2101
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
2097
2102
                return NULL;
2107
2112
                GQuark _edomain;
2108
2113
                gint _ecode;
2109
2114
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
2110
 
                        const char* _tmp50_;
 
2115
                        const char* _tmp51_;
2111
2116
                        _edomain = DBUS_GERROR;
2112
 
                        _tmp50_ = _dbus_error.name + 27;
2113
 
                        if (strcmp (_tmp50_, "Failed") == 0) {
 
2117
                        _tmp51_ = _dbus_error.name + 27;
 
2118
                        if (strcmp (_tmp51_, "Failed") == 0) {
2114
2119
                                _ecode = DBUS_GERROR_FAILED;
2115
 
                        } else if (strcmp (_tmp50_, "NoMemory") == 0) {
 
2120
                        } else if (strcmp (_tmp51_, "NoMemory") == 0) {
2116
2121
                                _ecode = DBUS_GERROR_NO_MEMORY;
2117
 
                        } else if (strcmp (_tmp50_, "ServiceUnknown") == 0) {
 
2122
                        } else if (strcmp (_tmp51_, "ServiceUnknown") == 0) {
2118
2123
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
2119
 
                        } else if (strcmp (_tmp50_, "NameHasNoOwner") == 0) {
 
2124
                        } else if (strcmp (_tmp51_, "NameHasNoOwner") == 0) {
2120
2125
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
2121
 
                        } else if (strcmp (_tmp50_, "NoReply") == 0) {
 
2126
                        } else if (strcmp (_tmp51_, "NoReply") == 0) {
2122
2127
                                _ecode = DBUS_GERROR_NO_REPLY;
2123
 
                        } else if (strcmp (_tmp50_, "IOError") == 0) {
 
2128
                        } else if (strcmp (_tmp51_, "IOError") == 0) {
2124
2129
                                _ecode = DBUS_GERROR_IO_ERROR;
2125
 
                        } else if (strcmp (_tmp50_, "BadAddress") == 0) {
 
2130
                        } else if (strcmp (_tmp51_, "BadAddress") == 0) {
2126
2131
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
2127
 
                        } else if (strcmp (_tmp50_, "NotSupported") == 0) {
 
2132
                        } else if (strcmp (_tmp51_, "NotSupported") == 0) {
2128
2133
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
2129
 
                        } else if (strcmp (_tmp50_, "LimitsExceeded") == 0) {
 
2134
                        } else if (strcmp (_tmp51_, "LimitsExceeded") == 0) {
2130
2135
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
2131
 
                        } else if (strcmp (_tmp50_, "AccessDenied") == 0) {
 
2136
                        } else if (strcmp (_tmp51_, "AccessDenied") == 0) {
2132
2137
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
2133
 
                        } else if (strcmp (_tmp50_, "AuthFailed") == 0) {
 
2138
                        } else if (strcmp (_tmp51_, "AuthFailed") == 0) {
2134
2139
                                _ecode = DBUS_GERROR_AUTH_FAILED;
2135
 
                        } else if (strcmp (_tmp50_, "NoServer") == 0) {
 
2140
                        } else if (strcmp (_tmp51_, "NoServer") == 0) {
2136
2141
                                _ecode = DBUS_GERROR_NO_SERVER;
2137
 
                        } else if (strcmp (_tmp50_, "Timeout") == 0) {
 
2142
                        } else if (strcmp (_tmp51_, "Timeout") == 0) {
2138
2143
                                _ecode = DBUS_GERROR_TIMEOUT;
2139
 
                        } else if (strcmp (_tmp50_, "NoNetwork") == 0) {
 
2144
                        } else if (strcmp (_tmp51_, "NoNetwork") == 0) {
2140
2145
                                _ecode = DBUS_GERROR_NO_NETWORK;
2141
 
                        } else if (strcmp (_tmp50_, "AddressInUse") == 0) {
 
2146
                        } else if (strcmp (_tmp51_, "AddressInUse") == 0) {
2142
2147
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
2143
 
                        } else if (strcmp (_tmp50_, "Disconnected") == 0) {
 
2148
                        } else if (strcmp (_tmp51_, "Disconnected") == 0) {
2144
2149
                                _ecode = DBUS_GERROR_DISCONNECTED;
2145
 
                        } else if (strcmp (_tmp50_, "InvalidArgs") == 0) {
 
2150
                        } else if (strcmp (_tmp51_, "InvalidArgs") == 0) {
2146
2151
                                _ecode = DBUS_GERROR_INVALID_ARGS;
2147
 
                        } else if (strcmp (_tmp50_, "FileNotFound") == 0) {
 
2152
                        } else if (strcmp (_tmp51_, "FileNotFound") == 0) {
2148
2153
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
2149
 
                        } else if (strcmp (_tmp50_, "FileExists") == 0) {
 
2154
                        } else if (strcmp (_tmp51_, "FileExists") == 0) {
2150
2155
                                _ecode = DBUS_GERROR_FILE_EXISTS;
2151
 
                        } else if (strcmp (_tmp50_, "UnknownMethod") == 0) {
 
2156
                        } else if (strcmp (_tmp51_, "UnknownMethod") == 0) {
2152
2157
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
2153
 
                        } else if (strcmp (_tmp50_, "TimedOut") == 0) {
 
2158
                        } else if (strcmp (_tmp51_, "TimedOut") == 0) {
2154
2159
                                _ecode = DBUS_GERROR_TIMED_OUT;
2155
 
                        } else if (strcmp (_tmp50_, "MatchRuleNotFound") == 0) {
 
2160
                        } else if (strcmp (_tmp51_, "MatchRuleNotFound") == 0) {
2156
2161
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
2157
 
                        } else if (strcmp (_tmp50_, "MatchRuleInvalid") == 0) {
 
2162
                        } else if (strcmp (_tmp51_, "MatchRuleInvalid") == 0) {
2158
2163
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
2159
 
                        } else if (strcmp (_tmp50_, "Spawn.ExecFailed") == 0) {
 
2164
                        } else if (strcmp (_tmp51_, "Spawn.ExecFailed") == 0) {
2160
2165
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
2161
 
                        } else if (strcmp (_tmp50_, "Spawn.ForkFailed") == 0) {
 
2166
                        } else if (strcmp (_tmp51_, "Spawn.ForkFailed") == 0) {
2162
2167
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
2163
 
                        } else if (strcmp (_tmp50_, "Spawn.ChildExited") == 0) {
 
2168
                        } else if (strcmp (_tmp51_, "Spawn.ChildExited") == 0) {
2164
2169
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
2165
 
                        } else if (strcmp (_tmp50_, "Spawn.ChildSignaled") == 0) {
 
2170
                        } else if (strcmp (_tmp51_, "Spawn.ChildSignaled") == 0) {
2166
2171
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
2167
 
                        } else if (strcmp (_tmp50_, "Spawn.Failed") == 0) {
 
2172
                        } else if (strcmp (_tmp51_, "Spawn.Failed") == 0) {
2168
2173
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
2169
 
                        } else if (strcmp (_tmp50_, "UnixProcessIdUnknown") == 0) {
 
2174
                        } else if (strcmp (_tmp51_, "UnixProcessIdUnknown") == 0) {
2170
2175
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
2171
 
                        } else if (strcmp (_tmp50_, "InvalidSignature") == 0) {
 
2176
                        } else if (strcmp (_tmp51_, "InvalidSignature") == 0) {
2172
2177
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
2173
 
                        } else if (strcmp (_tmp50_, "InvalidFileContent") == 0) {
 
2178
                        } else if (strcmp (_tmp51_, "InvalidFileContent") == 0) {
2174
2179
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
2175
 
                        } else if (strcmp (_tmp50_, "SELinuxSecurityContextUnknown") == 0) {
 
2180
                        } else if (strcmp (_tmp51_, "SELinuxSecurityContextUnknown") == 0) {
2176
2181
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
2177
 
                        } else if (strcmp (_tmp50_, "RemoteException") == 0) {
 
2182
                        } else if (strcmp (_tmp51_, "RemoteException") == 0) {
2178
2183
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
2179
2184
                        }
2180
2185
                }
2189
2194
        }
2190
2195
        dbus_message_iter_init (_reply, &_iter);
2191
2196
        _result_length1 = 0;
2192
 
        _tmp47_ = g_new (guint, 5);
2193
 
        _tmp47__length = 0;
2194
 
        _tmp47__size = 4;
2195
 
        _tmp47__length1 = 0;
2196
 
        dbus_message_iter_recurse (&_iter, &_tmp48_);
2197
 
        for (; dbus_message_iter_get_arg_type (&_tmp48_); _tmp47__length1++) {
2198
 
                dbus_uint32_t _tmp49_;
2199
 
                if (_tmp47__size == _tmp47__length) {
2200
 
                        _tmp47__size = 2 * _tmp47__size;
2201
 
                        _tmp47_ = g_renew (guint, _tmp47_, _tmp47__size + 1);
 
2197
        _tmp48_ = g_new (guint, 5);
 
2198
        _tmp48__length = 0;
 
2199
        _tmp48__size = 4;
 
2200
        _tmp48__length1 = 0;
 
2201
        dbus_message_iter_recurse (&_iter, &_tmp49_);
 
2202
        for (; dbus_message_iter_get_arg_type (&_tmp49_); _tmp48__length1++) {
 
2203
                dbus_uint32_t _tmp50_;
 
2204
                if (_tmp48__size == _tmp48__length) {
 
2205
                        _tmp48__size = 2 * _tmp48__size;
 
2206
                        _tmp48_ = g_renew (guint, _tmp48_, _tmp48__size + 1);
2202
2207
                }
2203
 
                dbus_message_iter_get_basic (&_tmp48_, &_tmp49_);
2204
 
                dbus_message_iter_next (&_tmp48_);
2205
 
                _tmp47_[_tmp47__length++] = _tmp49_;
 
2208
                dbus_message_iter_get_basic (&_tmp49_, &_tmp50_);
 
2209
                dbus_message_iter_next (&_tmp49_);
 
2210
                _tmp48_[_tmp48__length++] = _tmp50_;
2206
2211
        }
2207
 
        _result_length1 = _tmp47__length1;
 
2212
        _result_length1 = _tmp48__length1;
2208
2213
        dbus_message_iter_next (&_iter);
2209
 
        _result = _tmp47_;
 
2214
        _result = _tmp48_;
2210
2215
        *result_length1 = _result_length1;
2211
2216
        dbus_message_unref (_reply);
2212
2217
        return _result;
2220
2225
        DBusMessageIter _iter;
2221
2226
        guint* _result;
2222
2227
        int _result_length1;
2223
 
        guint* _tmp51_;
2224
 
        int _tmp51__length;
2225
 
        int _tmp51__size;
2226
 
        int _tmp51__length1;
2227
 
        DBusMessageIter _tmp52_;
 
2228
        guint* _tmp52_;
 
2229
        int _tmp52__length;
 
2230
        int _tmp52__size;
 
2231
        int _tmp52__length1;
 
2232
        DBusMessageIter _tmp53_;
2228
2233
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
2229
2234
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
2230
2235
                return NULL;
2240
2245
                GQuark _edomain;
2241
2246
                gint _ecode;
2242
2247
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
2243
 
                        const char* _tmp54_;
 
2248
                        const char* _tmp55_;
2244
2249
                        _edomain = DBUS_GERROR;
2245
 
                        _tmp54_ = _dbus_error.name + 27;
2246
 
                        if (strcmp (_tmp54_, "Failed") == 0) {
 
2250
                        _tmp55_ = _dbus_error.name + 27;
 
2251
                        if (strcmp (_tmp55_, "Failed") == 0) {
2247
2252
                                _ecode = DBUS_GERROR_FAILED;
2248
 
                        } else if (strcmp (_tmp54_, "NoMemory") == 0) {
 
2253
                        } else if (strcmp (_tmp55_, "NoMemory") == 0) {
2249
2254
                                _ecode = DBUS_GERROR_NO_MEMORY;
2250
 
                        } else if (strcmp (_tmp54_, "ServiceUnknown") == 0) {
 
2255
                        } else if (strcmp (_tmp55_, "ServiceUnknown") == 0) {
2251
2256
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
2252
 
                        } else if (strcmp (_tmp54_, "NameHasNoOwner") == 0) {
 
2257
                        } else if (strcmp (_tmp55_, "NameHasNoOwner") == 0) {
2253
2258
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
2254
 
                        } else if (strcmp (_tmp54_, "NoReply") == 0) {
 
2259
                        } else if (strcmp (_tmp55_, "NoReply") == 0) {
2255
2260
                                _ecode = DBUS_GERROR_NO_REPLY;
2256
 
                        } else if (strcmp (_tmp54_, "IOError") == 0) {
 
2261
                        } else if (strcmp (_tmp55_, "IOError") == 0) {
2257
2262
                                _ecode = DBUS_GERROR_IO_ERROR;
2258
 
                        } else if (strcmp (_tmp54_, "BadAddress") == 0) {
 
2263
                        } else if (strcmp (_tmp55_, "BadAddress") == 0) {
2259
2264
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
2260
 
                        } else if (strcmp (_tmp54_, "NotSupported") == 0) {
 
2265
                        } else if (strcmp (_tmp55_, "NotSupported") == 0) {
2261
2266
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
2262
 
                        } else if (strcmp (_tmp54_, "LimitsExceeded") == 0) {
 
2267
                        } else if (strcmp (_tmp55_, "LimitsExceeded") == 0) {
2263
2268
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
2264
 
                        } else if (strcmp (_tmp54_, "AccessDenied") == 0) {
 
2269
                        } else if (strcmp (_tmp55_, "AccessDenied") == 0) {
2265
2270
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
2266
 
                        } else if (strcmp (_tmp54_, "AuthFailed") == 0) {
 
2271
                        } else if (strcmp (_tmp55_, "AuthFailed") == 0) {
2267
2272
                                _ecode = DBUS_GERROR_AUTH_FAILED;
2268
 
                        } else if (strcmp (_tmp54_, "NoServer") == 0) {
 
2273
                        } else if (strcmp (_tmp55_, "NoServer") == 0) {
2269
2274
                                _ecode = DBUS_GERROR_NO_SERVER;
2270
 
                        } else if (strcmp (_tmp54_, "Timeout") == 0) {
 
2275
                        } else if (strcmp (_tmp55_, "Timeout") == 0) {
2271
2276
                                _ecode = DBUS_GERROR_TIMEOUT;
2272
 
                        } else if (strcmp (_tmp54_, "NoNetwork") == 0) {
 
2277
                        } else if (strcmp (_tmp55_, "NoNetwork") == 0) {
2273
2278
                                _ecode = DBUS_GERROR_NO_NETWORK;
2274
 
                        } else if (strcmp (_tmp54_, "AddressInUse") == 0) {
 
2279
                        } else if (strcmp (_tmp55_, "AddressInUse") == 0) {
2275
2280
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
2276
 
                        } else if (strcmp (_tmp54_, "Disconnected") == 0) {
 
2281
                        } else if (strcmp (_tmp55_, "Disconnected") == 0) {
2277
2282
                                _ecode = DBUS_GERROR_DISCONNECTED;
2278
 
                        } else if (strcmp (_tmp54_, "InvalidArgs") == 0) {
 
2283
                        } else if (strcmp (_tmp55_, "InvalidArgs") == 0) {
2279
2284
                                _ecode = DBUS_GERROR_INVALID_ARGS;
2280
 
                        } else if (strcmp (_tmp54_, "FileNotFound") == 0) {
 
2285
                        } else if (strcmp (_tmp55_, "FileNotFound") == 0) {
2281
2286
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
2282
 
                        } else if (strcmp (_tmp54_, "FileExists") == 0) {
 
2287
                        } else if (strcmp (_tmp55_, "FileExists") == 0) {
2283
2288
                                _ecode = DBUS_GERROR_FILE_EXISTS;
2284
 
                        } else if (strcmp (_tmp54_, "UnknownMethod") == 0) {
 
2289
                        } else if (strcmp (_tmp55_, "UnknownMethod") == 0) {
2285
2290
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
2286
 
                        } else if (strcmp (_tmp54_, "TimedOut") == 0) {
 
2291
                        } else if (strcmp (_tmp55_, "TimedOut") == 0) {
2287
2292
                                _ecode = DBUS_GERROR_TIMED_OUT;
2288
 
                        } else if (strcmp (_tmp54_, "MatchRuleNotFound") == 0) {
 
2293
                        } else if (strcmp (_tmp55_, "MatchRuleNotFound") == 0) {
2289
2294
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
2290
 
                        } else if (strcmp (_tmp54_, "MatchRuleInvalid") == 0) {
 
2295
                        } else if (strcmp (_tmp55_, "MatchRuleInvalid") == 0) {
2291
2296
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
2292
 
                        } else if (strcmp (_tmp54_, "Spawn.ExecFailed") == 0) {
 
2297
                        } else if (strcmp (_tmp55_, "Spawn.ExecFailed") == 0) {
2293
2298
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
2294
 
                        } else if (strcmp (_tmp54_, "Spawn.ForkFailed") == 0) {
 
2299
                        } else if (strcmp (_tmp55_, "Spawn.ForkFailed") == 0) {
2295
2300
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
2296
 
                        } else if (strcmp (_tmp54_, "Spawn.ChildExited") == 0) {
 
2301
                        } else if (strcmp (_tmp55_, "Spawn.ChildExited") == 0) {
2297
2302
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
2298
 
                        } else if (strcmp (_tmp54_, "Spawn.ChildSignaled") == 0) {
 
2303
                        } else if (strcmp (_tmp55_, "Spawn.ChildSignaled") == 0) {
2299
2304
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
2300
 
                        } else if (strcmp (_tmp54_, "Spawn.Failed") == 0) {
 
2305
                        } else if (strcmp (_tmp55_, "Spawn.Failed") == 0) {
2301
2306
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
2302
 
                        } else if (strcmp (_tmp54_, "UnixProcessIdUnknown") == 0) {
 
2307
                        } else if (strcmp (_tmp55_, "UnixProcessIdUnknown") == 0) {
2303
2308
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
2304
 
                        } else if (strcmp (_tmp54_, "InvalidSignature") == 0) {
 
2309
                        } else if (strcmp (_tmp55_, "InvalidSignature") == 0) {
2305
2310
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
2306
 
                        } else if (strcmp (_tmp54_, "InvalidFileContent") == 0) {
 
2311
                        } else if (strcmp (_tmp55_, "InvalidFileContent") == 0) {
2307
2312
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
2308
 
                        } else if (strcmp (_tmp54_, "SELinuxSecurityContextUnknown") == 0) {
 
2313
                        } else if (strcmp (_tmp55_, "SELinuxSecurityContextUnknown") == 0) {
2309
2314
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
2310
 
                        } else if (strcmp (_tmp54_, "RemoteException") == 0) {
 
2315
                        } else if (strcmp (_tmp55_, "RemoteException") == 0) {
2311
2316
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
2312
2317
                        }
2313
2318
                }
2322
2327
        }
2323
2328
        dbus_message_iter_init (_reply, &_iter);
2324
2329
        _result_length1 = 0;
2325
 
        _tmp51_ = g_new (guint, 5);
2326
 
        _tmp51__length = 0;
2327
 
        _tmp51__size = 4;
2328
 
        _tmp51__length1 = 0;
2329
 
        dbus_message_iter_recurse (&_iter, &_tmp52_);
2330
 
        for (; dbus_message_iter_get_arg_type (&_tmp52_); _tmp51__length1++) {
2331
 
                dbus_uint32_t _tmp53_;
2332
 
                if (_tmp51__size == _tmp51__length) {
2333
 
                        _tmp51__size = 2 * _tmp51__size;
2334
 
                        _tmp51_ = g_renew (guint, _tmp51_, _tmp51__size + 1);
 
2330
        _tmp52_ = g_new (guint, 5);
 
2331
        _tmp52__length = 0;
 
2332
        _tmp52__size = 4;
 
2333
        _tmp52__length1 = 0;
 
2334
        dbus_message_iter_recurse (&_iter, &_tmp53_);
 
2335
        for (; dbus_message_iter_get_arg_type (&_tmp53_); _tmp52__length1++) {
 
2336
                dbus_uint32_t _tmp54_;
 
2337
                if (_tmp52__size == _tmp52__length) {
 
2338
                        _tmp52__size = 2 * _tmp52__size;
 
2339
                        _tmp52_ = g_renew (guint, _tmp52_, _tmp52__size + 1);
2335
2340
                }
2336
 
                dbus_message_iter_get_basic (&_tmp52_, &_tmp53_);
2337
 
                dbus_message_iter_next (&_tmp52_);
2338
 
                _tmp51_[_tmp51__length++] = _tmp53_;
 
2341
                dbus_message_iter_get_basic (&_tmp53_, &_tmp54_);
 
2342
                dbus_message_iter_next (&_tmp53_);
 
2343
                _tmp52_[_tmp52__length++] = _tmp54_;
2339
2344
        }
2340
 
        _result_length1 = _tmp51__length1;
 
2345
        _result_length1 = _tmp52__length1;
2341
2346
        dbus_message_iter_next (&_iter);
2342
 
        _result = _tmp51_;
 
2347
        _result = _tmp52_;
2343
2348
        *result_length1 = _result_length1;
2344
2349
        dbus_message_unref (_reply);
2345
2350
        return _result;
2353
2358
        DBusMessageIter _iter;
2354
2359
        guint* _result;
2355
2360
        int _result_length1;
2356
 
        guint* _tmp55_;
2357
 
        int _tmp55__length;
2358
 
        int _tmp55__size;
2359
 
        int _tmp55__length1;
2360
 
        DBusMessageIter _tmp56_;
 
2361
        guint* _tmp56_;
 
2362
        int _tmp56__length;
 
2363
        int _tmp56__size;
 
2364
        int _tmp56__length1;
 
2365
        DBusMessageIter _tmp57_;
2361
2366
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
2362
2367
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
2363
2368
                return NULL;
2373
2378
                GQuark _edomain;
2374
2379
                gint _ecode;
2375
2380
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
2376
 
                        const char* _tmp58_;
 
2381
                        const char* _tmp59_;
2377
2382
                        _edomain = DBUS_GERROR;
2378
 
                        _tmp58_ = _dbus_error.name + 27;
2379
 
                        if (strcmp (_tmp58_, "Failed") == 0) {
 
2383
                        _tmp59_ = _dbus_error.name + 27;
 
2384
                        if (strcmp (_tmp59_, "Failed") == 0) {
2380
2385
                                _ecode = DBUS_GERROR_FAILED;
2381
 
                        } else if (strcmp (_tmp58_, "NoMemory") == 0) {
 
2386
                        } else if (strcmp (_tmp59_, "NoMemory") == 0) {
2382
2387
                                _ecode = DBUS_GERROR_NO_MEMORY;
2383
 
                        } else if (strcmp (_tmp58_, "ServiceUnknown") == 0) {
 
2388
                        } else if (strcmp (_tmp59_, "ServiceUnknown") == 0) {
2384
2389
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
2385
 
                        } else if (strcmp (_tmp58_, "NameHasNoOwner") == 0) {
 
2390
                        } else if (strcmp (_tmp59_, "NameHasNoOwner") == 0) {
2386
2391
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
2387
 
                        } else if (strcmp (_tmp58_, "NoReply") == 0) {
 
2392
                        } else if (strcmp (_tmp59_, "NoReply") == 0) {
2388
2393
                                _ecode = DBUS_GERROR_NO_REPLY;
2389
 
                        } else if (strcmp (_tmp58_, "IOError") == 0) {
 
2394
                        } else if (strcmp (_tmp59_, "IOError") == 0) {
2390
2395
                                _ecode = DBUS_GERROR_IO_ERROR;
2391
 
                        } else if (strcmp (_tmp58_, "BadAddress") == 0) {
 
2396
                        } else if (strcmp (_tmp59_, "BadAddress") == 0) {
2392
2397
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
2393
 
                        } else if (strcmp (_tmp58_, "NotSupported") == 0) {
 
2398
                        } else if (strcmp (_tmp59_, "NotSupported") == 0) {
2394
2399
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
2395
 
                        } else if (strcmp (_tmp58_, "LimitsExceeded") == 0) {
 
2400
                        } else if (strcmp (_tmp59_, "LimitsExceeded") == 0) {
2396
2401
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
2397
 
                        } else if (strcmp (_tmp58_, "AccessDenied") == 0) {
 
2402
                        } else if (strcmp (_tmp59_, "AccessDenied") == 0) {
2398
2403
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
2399
 
                        } else if (strcmp (_tmp58_, "AuthFailed") == 0) {
 
2404
                        } else if (strcmp (_tmp59_, "AuthFailed") == 0) {
2400
2405
                                _ecode = DBUS_GERROR_AUTH_FAILED;
2401
 
                        } else if (strcmp (_tmp58_, "NoServer") == 0) {
 
2406
                        } else if (strcmp (_tmp59_, "NoServer") == 0) {
2402
2407
                                _ecode = DBUS_GERROR_NO_SERVER;
2403
 
                        } else if (strcmp (_tmp58_, "Timeout") == 0) {
 
2408
                        } else if (strcmp (_tmp59_, "Timeout") == 0) {
2404
2409
                                _ecode = DBUS_GERROR_TIMEOUT;
2405
 
                        } else if (strcmp (_tmp58_, "NoNetwork") == 0) {
 
2410
                        } else if (strcmp (_tmp59_, "NoNetwork") == 0) {
2406
2411
                                _ecode = DBUS_GERROR_NO_NETWORK;
2407
 
                        } else if (strcmp (_tmp58_, "AddressInUse") == 0) {
 
2412
                        } else if (strcmp (_tmp59_, "AddressInUse") == 0) {
2408
2413
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
2409
 
                        } else if (strcmp (_tmp58_, "Disconnected") == 0) {
 
2414
                        } else if (strcmp (_tmp59_, "Disconnected") == 0) {
2410
2415
                                _ecode = DBUS_GERROR_DISCONNECTED;
2411
 
                        } else if (strcmp (_tmp58_, "InvalidArgs") == 0) {
 
2416
                        } else if (strcmp (_tmp59_, "InvalidArgs") == 0) {
2412
2417
                                _ecode = DBUS_GERROR_INVALID_ARGS;
2413
 
                        } else if (strcmp (_tmp58_, "FileNotFound") == 0) {
 
2418
                        } else if (strcmp (_tmp59_, "FileNotFound") == 0) {
2414
2419
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
2415
 
                        } else if (strcmp (_tmp58_, "FileExists") == 0) {
 
2420
                        } else if (strcmp (_tmp59_, "FileExists") == 0) {
2416
2421
                                _ecode = DBUS_GERROR_FILE_EXISTS;
2417
 
                        } else if (strcmp (_tmp58_, "UnknownMethod") == 0) {
 
2422
                        } else if (strcmp (_tmp59_, "UnknownMethod") == 0) {
2418
2423
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
2419
 
                        } else if (strcmp (_tmp58_, "TimedOut") == 0) {
 
2424
                        } else if (strcmp (_tmp59_, "TimedOut") == 0) {
2420
2425
                                _ecode = DBUS_GERROR_TIMED_OUT;
2421
 
                        } else if (strcmp (_tmp58_, "MatchRuleNotFound") == 0) {
 
2426
                        } else if (strcmp (_tmp59_, "MatchRuleNotFound") == 0) {
2422
2427
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
2423
 
                        } else if (strcmp (_tmp58_, "MatchRuleInvalid") == 0) {
 
2428
                        } else if (strcmp (_tmp59_, "MatchRuleInvalid") == 0) {
2424
2429
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
2425
 
                        } else if (strcmp (_tmp58_, "Spawn.ExecFailed") == 0) {
 
2430
                        } else if (strcmp (_tmp59_, "Spawn.ExecFailed") == 0) {
2426
2431
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
2427
 
                        } else if (strcmp (_tmp58_, "Spawn.ForkFailed") == 0) {
 
2432
                        } else if (strcmp (_tmp59_, "Spawn.ForkFailed") == 0) {
2428
2433
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
2429
 
                        } else if (strcmp (_tmp58_, "Spawn.ChildExited") == 0) {
 
2434
                        } else if (strcmp (_tmp59_, "Spawn.ChildExited") == 0) {
2430
2435
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
2431
 
                        } else if (strcmp (_tmp58_, "Spawn.ChildSignaled") == 0) {
 
2436
                        } else if (strcmp (_tmp59_, "Spawn.ChildSignaled") == 0) {
2432
2437
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
2433
 
                        } else if (strcmp (_tmp58_, "Spawn.Failed") == 0) {
 
2438
                        } else if (strcmp (_tmp59_, "Spawn.Failed") == 0) {
2434
2439
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
2435
 
                        } else if (strcmp (_tmp58_, "UnixProcessIdUnknown") == 0) {
 
2440
                        } else if (strcmp (_tmp59_, "UnixProcessIdUnknown") == 0) {
2436
2441
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
2437
 
                        } else if (strcmp (_tmp58_, "InvalidSignature") == 0) {
 
2442
                        } else if (strcmp (_tmp59_, "InvalidSignature") == 0) {
2438
2443
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
2439
 
                        } else if (strcmp (_tmp58_, "InvalidFileContent") == 0) {
 
2444
                        } else if (strcmp (_tmp59_, "InvalidFileContent") == 0) {
2440
2445
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
2441
 
                        } else if (strcmp (_tmp58_, "SELinuxSecurityContextUnknown") == 0) {
 
2446
                        } else if (strcmp (_tmp59_, "SELinuxSecurityContextUnknown") == 0) {
2442
2447
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
2443
 
                        } else if (strcmp (_tmp58_, "RemoteException") == 0) {
 
2448
                        } else if (strcmp (_tmp59_, "RemoteException") == 0) {
2444
2449
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
2445
2450
                        }
2446
2451
                }
2455
2460
        }
2456
2461
        dbus_message_iter_init (_reply, &_iter);
2457
2462
        _result_length1 = 0;
2458
 
        _tmp55_ = g_new (guint, 5);
2459
 
        _tmp55__length = 0;
2460
 
        _tmp55__size = 4;
2461
 
        _tmp55__length1 = 0;
2462
 
        dbus_message_iter_recurse (&_iter, &_tmp56_);
2463
 
        for (; dbus_message_iter_get_arg_type (&_tmp56_); _tmp55__length1++) {
2464
 
                dbus_uint32_t _tmp57_;
2465
 
                if (_tmp55__size == _tmp55__length) {
2466
 
                        _tmp55__size = 2 * _tmp55__size;
2467
 
                        _tmp55_ = g_renew (guint, _tmp55_, _tmp55__size + 1);
 
2463
        _tmp56_ = g_new (guint, 5);
 
2464
        _tmp56__length = 0;
 
2465
        _tmp56__size = 4;
 
2466
        _tmp56__length1 = 0;
 
2467
        dbus_message_iter_recurse (&_iter, &_tmp57_);
 
2468
        for (; dbus_message_iter_get_arg_type (&_tmp57_); _tmp56__length1++) {
 
2469
                dbus_uint32_t _tmp58_;
 
2470
                if (_tmp56__size == _tmp56__length) {
 
2471
                        _tmp56__size = 2 * _tmp56__size;
 
2472
                        _tmp56_ = g_renew (guint, _tmp56_, _tmp56__size + 1);
2468
2473
                }
2469
 
                dbus_message_iter_get_basic (&_tmp56_, &_tmp57_);
2470
 
                dbus_message_iter_next (&_tmp56_);
2471
 
                _tmp55_[_tmp55__length++] = _tmp57_;
 
2474
                dbus_message_iter_get_basic (&_tmp57_, &_tmp58_);
 
2475
                dbus_message_iter_next (&_tmp57_);
 
2476
                _tmp56_[_tmp56__length++] = _tmp58_;
2472
2477
        }
2473
 
        _result_length1 = _tmp55__length1;
 
2478
        _result_length1 = _tmp56__length1;
2474
2479
        dbus_message_iter_next (&_iter);
2475
 
        _result = _tmp55_;
 
2480
        _result = _tmp56_;
2476
2481
        *result_length1 = _result_length1;
2477
2482
        dbus_message_unref (_reply);
2478
2483
        return _result;
2484
2489
        DBusGConnection *_connection;
2485
2490
        DBusMessage *_message, *_reply;
2486
2491
        DBusMessageIter _iter;
2487
 
        dbus_uint32_t _tmp59_;
 
2492
        dbus_uint32_t _tmp60_;
2488
2493
        char* _channel_name;
2489
 
        const char* _tmp60_;
 
2494
        const char* _tmp61_;
2490
2495
        gboolean _result;
2491
 
        dbus_bool_t _tmp61_;
 
2496
        dbus_bool_t _tmp62_;
2492
2497
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
2493
2498
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
2494
2499
                return FALSE;
2495
2500
        }
2496
2501
        _message = dbus_message_new_method_call (dbus_g_proxy_get_bus_name ((DBusGProxy*) self), dbus_g_proxy_get_path ((DBusGProxy*) self), "org.gnome.DVB.ChannelList", "GetChannelName");
2497
2502
        dbus_message_iter_init_append (_message, &_iter);
2498
 
        _tmp59_ = channel_id;
2499
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp59_);
 
2503
        _tmp60_ = channel_id;
 
2504
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp60_);
2500
2505
        g_object_get (self, "connection", &_connection, NULL);
2501
2506
        dbus_error_init (&_dbus_error);
2502
2507
        _reply = dbus_connection_send_with_reply_and_block (dbus_g_connection_get_connection (_connection), _message, -1, &_dbus_error);
2506
2511
                GQuark _edomain;
2507
2512
                gint _ecode;
2508
2513
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
2509
 
                        const char* _tmp62_;
 
2514
                        const char* _tmp63_;
2510
2515
                        _edomain = DBUS_GERROR;
2511
 
                        _tmp62_ = _dbus_error.name + 27;
2512
 
                        if (strcmp (_tmp62_, "Failed") == 0) {
 
2516
                        _tmp63_ = _dbus_error.name + 27;
 
2517
                        if (strcmp (_tmp63_, "Failed") == 0) {
2513
2518
                                _ecode = DBUS_GERROR_FAILED;
2514
 
                        } else if (strcmp (_tmp62_, "NoMemory") == 0) {
 
2519
                        } else if (strcmp (_tmp63_, "NoMemory") == 0) {
2515
2520
                                _ecode = DBUS_GERROR_NO_MEMORY;
2516
 
                        } else if (strcmp (_tmp62_, "ServiceUnknown") == 0) {
 
2521
                        } else if (strcmp (_tmp63_, "ServiceUnknown") == 0) {
2517
2522
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
2518
 
                        } else if (strcmp (_tmp62_, "NameHasNoOwner") == 0) {
 
2523
                        } else if (strcmp (_tmp63_, "NameHasNoOwner") == 0) {
2519
2524
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
2520
 
                        } else if (strcmp (_tmp62_, "NoReply") == 0) {
 
2525
                        } else if (strcmp (_tmp63_, "NoReply") == 0) {
2521
2526
                                _ecode = DBUS_GERROR_NO_REPLY;
2522
 
                        } else if (strcmp (_tmp62_, "IOError") == 0) {
 
2527
                        } else if (strcmp (_tmp63_, "IOError") == 0) {
2523
2528
                                _ecode = DBUS_GERROR_IO_ERROR;
2524
 
                        } else if (strcmp (_tmp62_, "BadAddress") == 0) {
 
2529
                        } else if (strcmp (_tmp63_, "BadAddress") == 0) {
2525
2530
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
2526
 
                        } else if (strcmp (_tmp62_, "NotSupported") == 0) {
 
2531
                        } else if (strcmp (_tmp63_, "NotSupported") == 0) {
2527
2532
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
2528
 
                        } else if (strcmp (_tmp62_, "LimitsExceeded") == 0) {
 
2533
                        } else if (strcmp (_tmp63_, "LimitsExceeded") == 0) {
2529
2534
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
2530
 
                        } else if (strcmp (_tmp62_, "AccessDenied") == 0) {
 
2535
                        } else if (strcmp (_tmp63_, "AccessDenied") == 0) {
2531
2536
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
2532
 
                        } else if (strcmp (_tmp62_, "AuthFailed") == 0) {
 
2537
                        } else if (strcmp (_tmp63_, "AuthFailed") == 0) {
2533
2538
                                _ecode = DBUS_GERROR_AUTH_FAILED;
2534
 
                        } else if (strcmp (_tmp62_, "NoServer") == 0) {
 
2539
                        } else if (strcmp (_tmp63_, "NoServer") == 0) {
2535
2540
                                _ecode = DBUS_GERROR_NO_SERVER;
2536
 
                        } else if (strcmp (_tmp62_, "Timeout") == 0) {
 
2541
                        } else if (strcmp (_tmp63_, "Timeout") == 0) {
2537
2542
                                _ecode = DBUS_GERROR_TIMEOUT;
2538
 
                        } else if (strcmp (_tmp62_, "NoNetwork") == 0) {
 
2543
                        } else if (strcmp (_tmp63_, "NoNetwork") == 0) {
2539
2544
                                _ecode = DBUS_GERROR_NO_NETWORK;
2540
 
                        } else if (strcmp (_tmp62_, "AddressInUse") == 0) {
 
2545
                        } else if (strcmp (_tmp63_, "AddressInUse") == 0) {
2541
2546
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
2542
 
                        } else if (strcmp (_tmp62_, "Disconnected") == 0) {
 
2547
                        } else if (strcmp (_tmp63_, "Disconnected") == 0) {
2543
2548
                                _ecode = DBUS_GERROR_DISCONNECTED;
2544
 
                        } else if (strcmp (_tmp62_, "InvalidArgs") == 0) {
 
2549
                        } else if (strcmp (_tmp63_, "InvalidArgs") == 0) {
2545
2550
                                _ecode = DBUS_GERROR_INVALID_ARGS;
2546
 
                        } else if (strcmp (_tmp62_, "FileNotFound") == 0) {
 
2551
                        } else if (strcmp (_tmp63_, "FileNotFound") == 0) {
2547
2552
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
2548
 
                        } else if (strcmp (_tmp62_, "FileExists") == 0) {
 
2553
                        } else if (strcmp (_tmp63_, "FileExists") == 0) {
2549
2554
                                _ecode = DBUS_GERROR_FILE_EXISTS;
2550
 
                        } else if (strcmp (_tmp62_, "UnknownMethod") == 0) {
 
2555
                        } else if (strcmp (_tmp63_, "UnknownMethod") == 0) {
2551
2556
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
2552
 
                        } else if (strcmp (_tmp62_, "TimedOut") == 0) {
 
2557
                        } else if (strcmp (_tmp63_, "TimedOut") == 0) {
2553
2558
                                _ecode = DBUS_GERROR_TIMED_OUT;
2554
 
                        } else if (strcmp (_tmp62_, "MatchRuleNotFound") == 0) {
 
2559
                        } else if (strcmp (_tmp63_, "MatchRuleNotFound") == 0) {
2555
2560
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
2556
 
                        } else if (strcmp (_tmp62_, "MatchRuleInvalid") == 0) {
 
2561
                        } else if (strcmp (_tmp63_, "MatchRuleInvalid") == 0) {
2557
2562
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
2558
 
                        } else if (strcmp (_tmp62_, "Spawn.ExecFailed") == 0) {
 
2563
                        } else if (strcmp (_tmp63_, "Spawn.ExecFailed") == 0) {
2559
2564
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
2560
 
                        } else if (strcmp (_tmp62_, "Spawn.ForkFailed") == 0) {
 
2565
                        } else if (strcmp (_tmp63_, "Spawn.ForkFailed") == 0) {
2561
2566
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
2562
 
                        } else if (strcmp (_tmp62_, "Spawn.ChildExited") == 0) {
 
2567
                        } else if (strcmp (_tmp63_, "Spawn.ChildExited") == 0) {
2563
2568
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
2564
 
                        } else if (strcmp (_tmp62_, "Spawn.ChildSignaled") == 0) {
 
2569
                        } else if (strcmp (_tmp63_, "Spawn.ChildSignaled") == 0) {
2565
2570
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
2566
 
                        } else if (strcmp (_tmp62_, "Spawn.Failed") == 0) {
 
2571
                        } else if (strcmp (_tmp63_, "Spawn.Failed") == 0) {
2567
2572
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
2568
 
                        } else if (strcmp (_tmp62_, "UnixProcessIdUnknown") == 0) {
 
2573
                        } else if (strcmp (_tmp63_, "UnixProcessIdUnknown") == 0) {
2569
2574
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
2570
 
                        } else if (strcmp (_tmp62_, "InvalidSignature") == 0) {
 
2575
                        } else if (strcmp (_tmp63_, "InvalidSignature") == 0) {
2571
2576
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
2572
 
                        } else if (strcmp (_tmp62_, "InvalidFileContent") == 0) {
 
2577
                        } else if (strcmp (_tmp63_, "InvalidFileContent") == 0) {
2573
2578
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
2574
 
                        } else if (strcmp (_tmp62_, "SELinuxSecurityContextUnknown") == 0) {
 
2579
                        } else if (strcmp (_tmp63_, "SELinuxSecurityContextUnknown") == 0) {
2575
2580
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
2576
 
                        } else if (strcmp (_tmp62_, "RemoteException") == 0) {
 
2581
                        } else if (strcmp (_tmp63_, "RemoteException") == 0) {
2577
2582
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
2578
2583
                        }
2579
2584
                }
2587
2592
                return FALSE;
2588
2593
        }
2589
2594
        dbus_message_iter_init (_reply, &_iter);
2590
 
        dbus_message_iter_get_basic (&_iter, &_tmp60_);
 
2595
        dbus_message_iter_get_basic (&_iter, &_tmp61_);
2591
2596
        dbus_message_iter_next (&_iter);
2592
 
        _channel_name = g_strdup (_tmp60_);
 
2597
        _channel_name = g_strdup (_tmp61_);
2593
2598
        *channel_name = _channel_name;
2594
 
        dbus_message_iter_get_basic (&_iter, &_tmp61_);
 
2599
        dbus_message_iter_get_basic (&_iter, &_tmp62_);
2595
2600
        dbus_message_iter_next (&_iter);
2596
 
        _result = _tmp61_;
 
2601
        _result = _tmp62_;
2597
2602
        dbus_message_unref (_reply);
2598
2603
        return _result;
2599
2604
}
2604
2609
        DBusGConnection *_connection;
2605
2610
        DBusMessage *_message, *_reply;
2606
2611
        DBusMessageIter _iter;
2607
 
        dbus_uint32_t _tmp63_;
 
2612
        dbus_uint32_t _tmp64_;
2608
2613
        char* _network;
2609
 
        const char* _tmp64_;
 
2614
        const char* _tmp65_;
2610
2615
        gboolean _result;
2611
 
        dbus_bool_t _tmp65_;
 
2616
        dbus_bool_t _tmp66_;
2612
2617
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
2613
2618
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
2614
2619
                return FALSE;
2615
2620
        }
2616
2621
        _message = dbus_message_new_method_call (dbus_g_proxy_get_bus_name ((DBusGProxy*) self), dbus_g_proxy_get_path ((DBusGProxy*) self), "org.gnome.DVB.ChannelList", "GetChannelNetwork");
2617
2622
        dbus_message_iter_init_append (_message, &_iter);
2618
 
        _tmp63_ = channel_id;
2619
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp63_);
 
2623
        _tmp64_ = channel_id;
 
2624
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp64_);
2620
2625
        g_object_get (self, "connection", &_connection, NULL);
2621
2626
        dbus_error_init (&_dbus_error);
2622
2627
        _reply = dbus_connection_send_with_reply_and_block (dbus_g_connection_get_connection (_connection), _message, -1, &_dbus_error);
2626
2631
                GQuark _edomain;
2627
2632
                gint _ecode;
2628
2633
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
2629
 
                        const char* _tmp66_;
 
2634
                        const char* _tmp67_;
2630
2635
                        _edomain = DBUS_GERROR;
2631
 
                        _tmp66_ = _dbus_error.name + 27;
2632
 
                        if (strcmp (_tmp66_, "Failed") == 0) {
 
2636
                        _tmp67_ = _dbus_error.name + 27;
 
2637
                        if (strcmp (_tmp67_, "Failed") == 0) {
2633
2638
                                _ecode = DBUS_GERROR_FAILED;
2634
 
                        } else if (strcmp (_tmp66_, "NoMemory") == 0) {
 
2639
                        } else if (strcmp (_tmp67_, "NoMemory") == 0) {
2635
2640
                                _ecode = DBUS_GERROR_NO_MEMORY;
2636
 
                        } else if (strcmp (_tmp66_, "ServiceUnknown") == 0) {
 
2641
                        } else if (strcmp (_tmp67_, "ServiceUnknown") == 0) {
2637
2642
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
2638
 
                        } else if (strcmp (_tmp66_, "NameHasNoOwner") == 0) {
 
2643
                        } else if (strcmp (_tmp67_, "NameHasNoOwner") == 0) {
2639
2644
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
2640
 
                        } else if (strcmp (_tmp66_, "NoReply") == 0) {
 
2645
                        } else if (strcmp (_tmp67_, "NoReply") == 0) {
2641
2646
                                _ecode = DBUS_GERROR_NO_REPLY;
2642
 
                        } else if (strcmp (_tmp66_, "IOError") == 0) {
 
2647
                        } else if (strcmp (_tmp67_, "IOError") == 0) {
2643
2648
                                _ecode = DBUS_GERROR_IO_ERROR;
2644
 
                        } else if (strcmp (_tmp66_, "BadAddress") == 0) {
 
2649
                        } else if (strcmp (_tmp67_, "BadAddress") == 0) {
2645
2650
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
2646
 
                        } else if (strcmp (_tmp66_, "NotSupported") == 0) {
 
2651
                        } else if (strcmp (_tmp67_, "NotSupported") == 0) {
2647
2652
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
2648
 
                        } else if (strcmp (_tmp66_, "LimitsExceeded") == 0) {
 
2653
                        } else if (strcmp (_tmp67_, "LimitsExceeded") == 0) {
2649
2654
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
2650
 
                        } else if (strcmp (_tmp66_, "AccessDenied") == 0) {
 
2655
                        } else if (strcmp (_tmp67_, "AccessDenied") == 0) {
2651
2656
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
2652
 
                        } else if (strcmp (_tmp66_, "AuthFailed") == 0) {
 
2657
                        } else if (strcmp (_tmp67_, "AuthFailed") == 0) {
2653
2658
                                _ecode = DBUS_GERROR_AUTH_FAILED;
2654
 
                        } else if (strcmp (_tmp66_, "NoServer") == 0) {
 
2659
                        } else if (strcmp (_tmp67_, "NoServer") == 0) {
2655
2660
                                _ecode = DBUS_GERROR_NO_SERVER;
2656
 
                        } else if (strcmp (_tmp66_, "Timeout") == 0) {
 
2661
                        } else if (strcmp (_tmp67_, "Timeout") == 0) {
2657
2662
                                _ecode = DBUS_GERROR_TIMEOUT;
2658
 
                        } else if (strcmp (_tmp66_, "NoNetwork") == 0) {
 
2663
                        } else if (strcmp (_tmp67_, "NoNetwork") == 0) {
2659
2664
                                _ecode = DBUS_GERROR_NO_NETWORK;
2660
 
                        } else if (strcmp (_tmp66_, "AddressInUse") == 0) {
 
2665
                        } else if (strcmp (_tmp67_, "AddressInUse") == 0) {
2661
2666
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
2662
 
                        } else if (strcmp (_tmp66_, "Disconnected") == 0) {
 
2667
                        } else if (strcmp (_tmp67_, "Disconnected") == 0) {
2663
2668
                                _ecode = DBUS_GERROR_DISCONNECTED;
2664
 
                        } else if (strcmp (_tmp66_, "InvalidArgs") == 0) {
 
2669
                        } else if (strcmp (_tmp67_, "InvalidArgs") == 0) {
2665
2670
                                _ecode = DBUS_GERROR_INVALID_ARGS;
2666
 
                        } else if (strcmp (_tmp66_, "FileNotFound") == 0) {
 
2671
                        } else if (strcmp (_tmp67_, "FileNotFound") == 0) {
2667
2672
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
2668
 
                        } else if (strcmp (_tmp66_, "FileExists") == 0) {
 
2673
                        } else if (strcmp (_tmp67_, "FileExists") == 0) {
2669
2674
                                _ecode = DBUS_GERROR_FILE_EXISTS;
2670
 
                        } else if (strcmp (_tmp66_, "UnknownMethod") == 0) {
 
2675
                        } else if (strcmp (_tmp67_, "UnknownMethod") == 0) {
2671
2676
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
2672
 
                        } else if (strcmp (_tmp66_, "TimedOut") == 0) {
 
2677
                        } else if (strcmp (_tmp67_, "TimedOut") == 0) {
2673
2678
                                _ecode = DBUS_GERROR_TIMED_OUT;
2674
 
                        } else if (strcmp (_tmp66_, "MatchRuleNotFound") == 0) {
 
2679
                        } else if (strcmp (_tmp67_, "MatchRuleNotFound") == 0) {
2675
2680
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
2676
 
                        } else if (strcmp (_tmp66_, "MatchRuleInvalid") == 0) {
 
2681
                        } else if (strcmp (_tmp67_, "MatchRuleInvalid") == 0) {
2677
2682
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
2678
 
                        } else if (strcmp (_tmp66_, "Spawn.ExecFailed") == 0) {
 
2683
                        } else if (strcmp (_tmp67_, "Spawn.ExecFailed") == 0) {
2679
2684
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
2680
 
                        } else if (strcmp (_tmp66_, "Spawn.ForkFailed") == 0) {
 
2685
                        } else if (strcmp (_tmp67_, "Spawn.ForkFailed") == 0) {
2681
2686
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
2682
 
                        } else if (strcmp (_tmp66_, "Spawn.ChildExited") == 0) {
 
2687
                        } else if (strcmp (_tmp67_, "Spawn.ChildExited") == 0) {
2683
2688
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
2684
 
                        } else if (strcmp (_tmp66_, "Spawn.ChildSignaled") == 0) {
 
2689
                        } else if (strcmp (_tmp67_, "Spawn.ChildSignaled") == 0) {
2685
2690
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
2686
 
                        } else if (strcmp (_tmp66_, "Spawn.Failed") == 0) {
 
2691
                        } else if (strcmp (_tmp67_, "Spawn.Failed") == 0) {
2687
2692
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
2688
 
                        } else if (strcmp (_tmp66_, "UnixProcessIdUnknown") == 0) {
 
2693
                        } else if (strcmp (_tmp67_, "UnixProcessIdUnknown") == 0) {
2689
2694
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
2690
 
                        } else if (strcmp (_tmp66_, "InvalidSignature") == 0) {
 
2695
                        } else if (strcmp (_tmp67_, "InvalidSignature") == 0) {
2691
2696
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
2692
 
                        } else if (strcmp (_tmp66_, "InvalidFileContent") == 0) {
 
2697
                        } else if (strcmp (_tmp67_, "InvalidFileContent") == 0) {
2693
2698
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
2694
 
                        } else if (strcmp (_tmp66_, "SELinuxSecurityContextUnknown") == 0) {
 
2699
                        } else if (strcmp (_tmp67_, "SELinuxSecurityContextUnknown") == 0) {
2695
2700
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
2696
 
                        } else if (strcmp (_tmp66_, "RemoteException") == 0) {
 
2701
                        } else if (strcmp (_tmp67_, "RemoteException") == 0) {
2697
2702
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
2698
2703
                        }
2699
2704
                }
2707
2712
                return FALSE;
2708
2713
        }
2709
2714
        dbus_message_iter_init (_reply, &_iter);
2710
 
        dbus_message_iter_get_basic (&_iter, &_tmp64_);
 
2715
        dbus_message_iter_get_basic (&_iter, &_tmp65_);
2711
2716
        dbus_message_iter_next (&_iter);
2712
 
        _network = g_strdup (_tmp64_);
 
2717
        _network = g_strdup (_tmp65_);
2713
2718
        *network = _network;
2714
 
        dbus_message_iter_get_basic (&_iter, &_tmp65_);
 
2719
        dbus_message_iter_get_basic (&_iter, &_tmp66_);
2715
2720
        dbus_message_iter_next (&_iter);
2716
 
        _result = _tmp65_;
 
2721
        _result = _tmp66_;
2717
2722
        dbus_message_unref (_reply);
2718
2723
        return _result;
2719
2724
}
2724
2729
        DBusGConnection *_connection;
2725
2730
        DBusMessage *_message, *_reply;
2726
2731
        DBusMessageIter _iter;
2727
 
        dbus_uint32_t _tmp67_;
 
2732
        dbus_uint32_t _tmp68_;
2728
2733
        gboolean _radio;
2729
 
        dbus_bool_t _tmp68_;
2730
 
        gboolean _result;
2731
2734
        dbus_bool_t _tmp69_;
 
2735
        gboolean _result;
 
2736
        dbus_bool_t _tmp70_;
2732
2737
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
2733
2738
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
2734
2739
                return FALSE;
2735
2740
        }
2736
2741
        _message = dbus_message_new_method_call (dbus_g_proxy_get_bus_name ((DBusGProxy*) self), dbus_g_proxy_get_path ((DBusGProxy*) self), "org.gnome.DVB.ChannelList", "IsRadioChannel");
2737
2742
        dbus_message_iter_init_append (_message, &_iter);
2738
 
        _tmp67_ = channel_id;
2739
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp67_);
 
2743
        _tmp68_ = channel_id;
 
2744
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp68_);
2740
2745
        g_object_get (self, "connection", &_connection, NULL);
2741
2746
        dbus_error_init (&_dbus_error);
2742
2747
        _reply = dbus_connection_send_with_reply_and_block (dbus_g_connection_get_connection (_connection), _message, -1, &_dbus_error);
2746
2751
                GQuark _edomain;
2747
2752
                gint _ecode;
2748
2753
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
2749
 
                        const char* _tmp70_;
 
2754
                        const char* _tmp71_;
2750
2755
                        _edomain = DBUS_GERROR;
2751
 
                        _tmp70_ = _dbus_error.name + 27;
2752
 
                        if (strcmp (_tmp70_, "Failed") == 0) {
 
2756
                        _tmp71_ = _dbus_error.name + 27;
 
2757
                        if (strcmp (_tmp71_, "Failed") == 0) {
2753
2758
                                _ecode = DBUS_GERROR_FAILED;
2754
 
                        } else if (strcmp (_tmp70_, "NoMemory") == 0) {
 
2759
                        } else if (strcmp (_tmp71_, "NoMemory") == 0) {
2755
2760
                                _ecode = DBUS_GERROR_NO_MEMORY;
2756
 
                        } else if (strcmp (_tmp70_, "ServiceUnknown") == 0) {
 
2761
                        } else if (strcmp (_tmp71_, "ServiceUnknown") == 0) {
2757
2762
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
2758
 
                        } else if (strcmp (_tmp70_, "NameHasNoOwner") == 0) {
 
2763
                        } else if (strcmp (_tmp71_, "NameHasNoOwner") == 0) {
2759
2764
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
2760
 
                        } else if (strcmp (_tmp70_, "NoReply") == 0) {
 
2765
                        } else if (strcmp (_tmp71_, "NoReply") == 0) {
2761
2766
                                _ecode = DBUS_GERROR_NO_REPLY;
2762
 
                        } else if (strcmp (_tmp70_, "IOError") == 0) {
 
2767
                        } else if (strcmp (_tmp71_, "IOError") == 0) {
2763
2768
                                _ecode = DBUS_GERROR_IO_ERROR;
2764
 
                        } else if (strcmp (_tmp70_, "BadAddress") == 0) {
 
2769
                        } else if (strcmp (_tmp71_, "BadAddress") == 0) {
2765
2770
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
2766
 
                        } else if (strcmp (_tmp70_, "NotSupported") == 0) {
 
2771
                        } else if (strcmp (_tmp71_, "NotSupported") == 0) {
2767
2772
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
2768
 
                        } else if (strcmp (_tmp70_, "LimitsExceeded") == 0) {
 
2773
                        } else if (strcmp (_tmp71_, "LimitsExceeded") == 0) {
2769
2774
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
2770
 
                        } else if (strcmp (_tmp70_, "AccessDenied") == 0) {
 
2775
                        } else if (strcmp (_tmp71_, "AccessDenied") == 0) {
2771
2776
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
2772
 
                        } else if (strcmp (_tmp70_, "AuthFailed") == 0) {
 
2777
                        } else if (strcmp (_tmp71_, "AuthFailed") == 0) {
2773
2778
                                _ecode = DBUS_GERROR_AUTH_FAILED;
2774
 
                        } else if (strcmp (_tmp70_, "NoServer") == 0) {
 
2779
                        } else if (strcmp (_tmp71_, "NoServer") == 0) {
2775
2780
                                _ecode = DBUS_GERROR_NO_SERVER;
2776
 
                        } else if (strcmp (_tmp70_, "Timeout") == 0) {
 
2781
                        } else if (strcmp (_tmp71_, "Timeout") == 0) {
2777
2782
                                _ecode = DBUS_GERROR_TIMEOUT;
2778
 
                        } else if (strcmp (_tmp70_, "NoNetwork") == 0) {
 
2783
                        } else if (strcmp (_tmp71_, "NoNetwork") == 0) {
2779
2784
                                _ecode = DBUS_GERROR_NO_NETWORK;
2780
 
                        } else if (strcmp (_tmp70_, "AddressInUse") == 0) {
 
2785
                        } else if (strcmp (_tmp71_, "AddressInUse") == 0) {
2781
2786
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
2782
 
                        } else if (strcmp (_tmp70_, "Disconnected") == 0) {
 
2787
                        } else if (strcmp (_tmp71_, "Disconnected") == 0) {
2783
2788
                                _ecode = DBUS_GERROR_DISCONNECTED;
2784
 
                        } else if (strcmp (_tmp70_, "InvalidArgs") == 0) {
 
2789
                        } else if (strcmp (_tmp71_, "InvalidArgs") == 0) {
2785
2790
                                _ecode = DBUS_GERROR_INVALID_ARGS;
2786
 
                        } else if (strcmp (_tmp70_, "FileNotFound") == 0) {
 
2791
                        } else if (strcmp (_tmp71_, "FileNotFound") == 0) {
2787
2792
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
2788
 
                        } else if (strcmp (_tmp70_, "FileExists") == 0) {
 
2793
                        } else if (strcmp (_tmp71_, "FileExists") == 0) {
2789
2794
                                _ecode = DBUS_GERROR_FILE_EXISTS;
2790
 
                        } else if (strcmp (_tmp70_, "UnknownMethod") == 0) {
 
2795
                        } else if (strcmp (_tmp71_, "UnknownMethod") == 0) {
2791
2796
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
2792
 
                        } else if (strcmp (_tmp70_, "TimedOut") == 0) {
 
2797
                        } else if (strcmp (_tmp71_, "TimedOut") == 0) {
2793
2798
                                _ecode = DBUS_GERROR_TIMED_OUT;
2794
 
                        } else if (strcmp (_tmp70_, "MatchRuleNotFound") == 0) {
 
2799
                        } else if (strcmp (_tmp71_, "MatchRuleNotFound") == 0) {
2795
2800
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
2796
 
                        } else if (strcmp (_tmp70_, "MatchRuleInvalid") == 0) {
 
2801
                        } else if (strcmp (_tmp71_, "MatchRuleInvalid") == 0) {
2797
2802
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
2798
 
                        } else if (strcmp (_tmp70_, "Spawn.ExecFailed") == 0) {
 
2803
                        } else if (strcmp (_tmp71_, "Spawn.ExecFailed") == 0) {
2799
2804
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
2800
 
                        } else if (strcmp (_tmp70_, "Spawn.ForkFailed") == 0) {
 
2805
                        } else if (strcmp (_tmp71_, "Spawn.ForkFailed") == 0) {
2801
2806
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
2802
 
                        } else if (strcmp (_tmp70_, "Spawn.ChildExited") == 0) {
 
2807
                        } else if (strcmp (_tmp71_, "Spawn.ChildExited") == 0) {
2803
2808
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
2804
 
                        } else if (strcmp (_tmp70_, "Spawn.ChildSignaled") == 0) {
 
2809
                        } else if (strcmp (_tmp71_, "Spawn.ChildSignaled") == 0) {
2805
2810
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
2806
 
                        } else if (strcmp (_tmp70_, "Spawn.Failed") == 0) {
 
2811
                        } else if (strcmp (_tmp71_, "Spawn.Failed") == 0) {
2807
2812
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
2808
 
                        } else if (strcmp (_tmp70_, "UnixProcessIdUnknown") == 0) {
 
2813
                        } else if (strcmp (_tmp71_, "UnixProcessIdUnknown") == 0) {
2809
2814
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
2810
 
                        } else if (strcmp (_tmp70_, "InvalidSignature") == 0) {
 
2815
                        } else if (strcmp (_tmp71_, "InvalidSignature") == 0) {
2811
2816
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
2812
 
                        } else if (strcmp (_tmp70_, "InvalidFileContent") == 0) {
 
2817
                        } else if (strcmp (_tmp71_, "InvalidFileContent") == 0) {
2813
2818
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
2814
 
                        } else if (strcmp (_tmp70_, "SELinuxSecurityContextUnknown") == 0) {
 
2819
                        } else if (strcmp (_tmp71_, "SELinuxSecurityContextUnknown") == 0) {
2815
2820
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
2816
 
                        } else if (strcmp (_tmp70_, "RemoteException") == 0) {
 
2821
                        } else if (strcmp (_tmp71_, "RemoteException") == 0) {
2817
2822
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
2818
2823
                        }
2819
2824
                }
2827
2832
                return FALSE;
2828
2833
        }
2829
2834
        dbus_message_iter_init (_reply, &_iter);
2830
 
        dbus_message_iter_get_basic (&_iter, &_tmp68_);
 
2835
        dbus_message_iter_get_basic (&_iter, &_tmp69_);
2831
2836
        dbus_message_iter_next (&_iter);
2832
 
        _radio = _tmp68_;
 
2837
        _radio = _tmp69_;
2833
2838
        *radio = _radio;
2834
 
        dbus_message_iter_get_basic (&_iter, &_tmp69_);
 
2839
        dbus_message_iter_get_basic (&_iter, &_tmp70_);
2835
2840
        dbus_message_iter_next (&_iter);
2836
 
        _result = _tmp69_;
 
2841
        _result = _tmp70_;
2837
2842
        dbus_message_unref (_reply);
2838
2843
        return _result;
2839
2844
}
2844
2849
        DBusGConnection *_connection;
2845
2850
        DBusMessage *_message, *_reply;
2846
2851
        DBusMessageIter _iter;
2847
 
        dbus_uint32_t _tmp71_;
 
2852
        dbus_uint32_t _tmp72_;
2848
2853
        char* _url;
2849
 
        const char* _tmp72_;
 
2854
        const char* _tmp73_;
2850
2855
        gboolean _result;
2851
 
        dbus_bool_t _tmp73_;
 
2856
        dbus_bool_t _tmp74_;
2852
2857
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
2853
2858
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
2854
2859
                return FALSE;
2855
2860
        }
2856
2861
        _message = dbus_message_new_method_call (dbus_g_proxy_get_bus_name ((DBusGProxy*) self), dbus_g_proxy_get_path ((DBusGProxy*) self), "org.gnome.DVB.ChannelList", "GetChannelURL");
2857
2862
        dbus_message_iter_init_append (_message, &_iter);
2858
 
        _tmp71_ = channel_id;
2859
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp71_);
 
2863
        _tmp72_ = channel_id;
 
2864
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp72_);
2860
2865
        g_object_get (self, "connection", &_connection, NULL);
2861
2866
        dbus_error_init (&_dbus_error);
2862
2867
        _reply = dbus_connection_send_with_reply_and_block (dbus_g_connection_get_connection (_connection), _message, -1, &_dbus_error);
2866
2871
                GQuark _edomain;
2867
2872
                gint _ecode;
2868
2873
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
2869
 
                        const char* _tmp74_;
 
2874
                        const char* _tmp75_;
2870
2875
                        _edomain = DBUS_GERROR;
2871
 
                        _tmp74_ = _dbus_error.name + 27;
2872
 
                        if (strcmp (_tmp74_, "Failed") == 0) {
 
2876
                        _tmp75_ = _dbus_error.name + 27;
 
2877
                        if (strcmp (_tmp75_, "Failed") == 0) {
2873
2878
                                _ecode = DBUS_GERROR_FAILED;
2874
 
                        } else if (strcmp (_tmp74_, "NoMemory") == 0) {
 
2879
                        } else if (strcmp (_tmp75_, "NoMemory") == 0) {
2875
2880
                                _ecode = DBUS_GERROR_NO_MEMORY;
2876
 
                        } else if (strcmp (_tmp74_, "ServiceUnknown") == 0) {
 
2881
                        } else if (strcmp (_tmp75_, "ServiceUnknown") == 0) {
2877
2882
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
2878
 
                        } else if (strcmp (_tmp74_, "NameHasNoOwner") == 0) {
 
2883
                        } else if (strcmp (_tmp75_, "NameHasNoOwner") == 0) {
2879
2884
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
2880
 
                        } else if (strcmp (_tmp74_, "NoReply") == 0) {
 
2885
                        } else if (strcmp (_tmp75_, "NoReply") == 0) {
2881
2886
                                _ecode = DBUS_GERROR_NO_REPLY;
2882
 
                        } else if (strcmp (_tmp74_, "IOError") == 0) {
 
2887
                        } else if (strcmp (_tmp75_, "IOError") == 0) {
2883
2888
                                _ecode = DBUS_GERROR_IO_ERROR;
2884
 
                        } else if (strcmp (_tmp74_, "BadAddress") == 0) {
 
2889
                        } else if (strcmp (_tmp75_, "BadAddress") == 0) {
2885
2890
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
2886
 
                        } else if (strcmp (_tmp74_, "NotSupported") == 0) {
 
2891
                        } else if (strcmp (_tmp75_, "NotSupported") == 0) {
2887
2892
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
2888
 
                        } else if (strcmp (_tmp74_, "LimitsExceeded") == 0) {
 
2893
                        } else if (strcmp (_tmp75_, "LimitsExceeded") == 0) {
2889
2894
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
2890
 
                        } else if (strcmp (_tmp74_, "AccessDenied") == 0) {
 
2895
                        } else if (strcmp (_tmp75_, "AccessDenied") == 0) {
2891
2896
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
2892
 
                        } else if (strcmp (_tmp74_, "AuthFailed") == 0) {
 
2897
                        } else if (strcmp (_tmp75_, "AuthFailed") == 0) {
2893
2898
                                _ecode = DBUS_GERROR_AUTH_FAILED;
2894
 
                        } else if (strcmp (_tmp74_, "NoServer") == 0) {
 
2899
                        } else if (strcmp (_tmp75_, "NoServer") == 0) {
2895
2900
                                _ecode = DBUS_GERROR_NO_SERVER;
2896
 
                        } else if (strcmp (_tmp74_, "Timeout") == 0) {
 
2901
                        } else if (strcmp (_tmp75_, "Timeout") == 0) {
2897
2902
                                _ecode = DBUS_GERROR_TIMEOUT;
2898
 
                        } else if (strcmp (_tmp74_, "NoNetwork") == 0) {
 
2903
                        } else if (strcmp (_tmp75_, "NoNetwork") == 0) {
2899
2904
                                _ecode = DBUS_GERROR_NO_NETWORK;
2900
 
                        } else if (strcmp (_tmp74_, "AddressInUse") == 0) {
 
2905
                        } else if (strcmp (_tmp75_, "AddressInUse") == 0) {
2901
2906
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
2902
 
                        } else if (strcmp (_tmp74_, "Disconnected") == 0) {
 
2907
                        } else if (strcmp (_tmp75_, "Disconnected") == 0) {
2903
2908
                                _ecode = DBUS_GERROR_DISCONNECTED;
2904
 
                        } else if (strcmp (_tmp74_, "InvalidArgs") == 0) {
 
2909
                        } else if (strcmp (_tmp75_, "InvalidArgs") == 0) {
2905
2910
                                _ecode = DBUS_GERROR_INVALID_ARGS;
2906
 
                        } else if (strcmp (_tmp74_, "FileNotFound") == 0) {
 
2911
                        } else if (strcmp (_tmp75_, "FileNotFound") == 0) {
2907
2912
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
2908
 
                        } else if (strcmp (_tmp74_, "FileExists") == 0) {
 
2913
                        } else if (strcmp (_tmp75_, "FileExists") == 0) {
2909
2914
                                _ecode = DBUS_GERROR_FILE_EXISTS;
2910
 
                        } else if (strcmp (_tmp74_, "UnknownMethod") == 0) {
 
2915
                        } else if (strcmp (_tmp75_, "UnknownMethod") == 0) {
2911
2916
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
2912
 
                        } else if (strcmp (_tmp74_, "TimedOut") == 0) {
 
2917
                        } else if (strcmp (_tmp75_, "TimedOut") == 0) {
2913
2918
                                _ecode = DBUS_GERROR_TIMED_OUT;
2914
 
                        } else if (strcmp (_tmp74_, "MatchRuleNotFound") == 0) {
 
2919
                        } else if (strcmp (_tmp75_, "MatchRuleNotFound") == 0) {
2915
2920
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
2916
 
                        } else if (strcmp (_tmp74_, "MatchRuleInvalid") == 0) {
 
2921
                        } else if (strcmp (_tmp75_, "MatchRuleInvalid") == 0) {
2917
2922
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
2918
 
                        } else if (strcmp (_tmp74_, "Spawn.ExecFailed") == 0) {
 
2923
                        } else if (strcmp (_tmp75_, "Spawn.ExecFailed") == 0) {
2919
2924
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
2920
 
                        } else if (strcmp (_tmp74_, "Spawn.ForkFailed") == 0) {
 
2925
                        } else if (strcmp (_tmp75_, "Spawn.ForkFailed") == 0) {
2921
2926
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
2922
 
                        } else if (strcmp (_tmp74_, "Spawn.ChildExited") == 0) {
 
2927
                        } else if (strcmp (_tmp75_, "Spawn.ChildExited") == 0) {
2923
2928
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
2924
 
                        } else if (strcmp (_tmp74_, "Spawn.ChildSignaled") == 0) {
 
2929
                        } else if (strcmp (_tmp75_, "Spawn.ChildSignaled") == 0) {
2925
2930
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
2926
 
                        } else if (strcmp (_tmp74_, "Spawn.Failed") == 0) {
 
2931
                        } else if (strcmp (_tmp75_, "Spawn.Failed") == 0) {
2927
2932
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
2928
 
                        } else if (strcmp (_tmp74_, "UnixProcessIdUnknown") == 0) {
 
2933
                        } else if (strcmp (_tmp75_, "UnixProcessIdUnknown") == 0) {
2929
2934
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
2930
 
                        } else if (strcmp (_tmp74_, "InvalidSignature") == 0) {
 
2935
                        } else if (strcmp (_tmp75_, "InvalidSignature") == 0) {
2931
2936
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
2932
 
                        } else if (strcmp (_tmp74_, "InvalidFileContent") == 0) {
 
2937
                        } else if (strcmp (_tmp75_, "InvalidFileContent") == 0) {
2933
2938
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
2934
 
                        } else if (strcmp (_tmp74_, "SELinuxSecurityContextUnknown") == 0) {
 
2939
                        } else if (strcmp (_tmp75_, "SELinuxSecurityContextUnknown") == 0) {
2935
2940
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
2936
 
                        } else if (strcmp (_tmp74_, "RemoteException") == 0) {
 
2941
                        } else if (strcmp (_tmp75_, "RemoteException") == 0) {
2937
2942
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
2938
2943
                        }
2939
2944
                }
2947
2952
                return FALSE;
2948
2953
        }
2949
2954
        dbus_message_iter_init (_reply, &_iter);
2950
 
        dbus_message_iter_get_basic (&_iter, &_tmp72_);
 
2955
        dbus_message_iter_get_basic (&_iter, &_tmp73_);
2951
2956
        dbus_message_iter_next (&_iter);
2952
 
        _url = g_strdup (_tmp72_);
 
2957
        _url = g_strdup (_tmp73_);
2953
2958
        *url = _url;
2954
 
        dbus_message_iter_get_basic (&_iter, &_tmp73_);
 
2959
        dbus_message_iter_get_basic (&_iter, &_tmp74_);
2955
2960
        dbus_message_iter_next (&_iter);
2956
 
        _result = _tmp73_;
 
2961
        _result = _tmp74_;
2957
2962
        dbus_message_unref (_reply);
2958
2963
        return _result;
2959
2964
}
2966
2971
        DBusMessageIter _iter;
2967
2972
        DVBChannelInfo* _result;
2968
2973
        int _result_length1;
2969
 
        DVBChannelInfo* _tmp75_;
2970
 
        int _tmp75__length;
2971
 
        int _tmp75__size;
2972
 
        int _tmp75__length1;
2973
 
        DBusMessageIter _tmp76_;
 
2974
        DVBChannelInfo* _tmp76_;
 
2975
        int _tmp76__length;
 
2976
        int _tmp76__size;
 
2977
        int _tmp76__length1;
 
2978
        DBusMessageIter _tmp77_;
2974
2979
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
2975
2980
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
2976
2981
                return NULL;
2986
2991
                GQuark _edomain;
2987
2992
                gint _ecode;
2988
2993
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
2989
 
                        const char* _tmp81_;
 
2994
                        const char* _tmp83_;
2990
2995
                        _edomain = DBUS_GERROR;
2991
 
                        _tmp81_ = _dbus_error.name + 27;
2992
 
                        if (strcmp (_tmp81_, "Failed") == 0) {
 
2996
                        _tmp83_ = _dbus_error.name + 27;
 
2997
                        if (strcmp (_tmp83_, "Failed") == 0) {
2993
2998
                                _ecode = DBUS_GERROR_FAILED;
2994
 
                        } else if (strcmp (_tmp81_, "NoMemory") == 0) {
 
2999
                        } else if (strcmp (_tmp83_, "NoMemory") == 0) {
2995
3000
                                _ecode = DBUS_GERROR_NO_MEMORY;
2996
 
                        } else if (strcmp (_tmp81_, "ServiceUnknown") == 0) {
 
3001
                        } else if (strcmp (_tmp83_, "ServiceUnknown") == 0) {
2997
3002
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
2998
 
                        } else if (strcmp (_tmp81_, "NameHasNoOwner") == 0) {
 
3003
                        } else if (strcmp (_tmp83_, "NameHasNoOwner") == 0) {
2999
3004
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
3000
 
                        } else if (strcmp (_tmp81_, "NoReply") == 0) {
 
3005
                        } else if (strcmp (_tmp83_, "NoReply") == 0) {
3001
3006
                                _ecode = DBUS_GERROR_NO_REPLY;
3002
 
                        } else if (strcmp (_tmp81_, "IOError") == 0) {
 
3007
                        } else if (strcmp (_tmp83_, "IOError") == 0) {
3003
3008
                                _ecode = DBUS_GERROR_IO_ERROR;
3004
 
                        } else if (strcmp (_tmp81_, "BadAddress") == 0) {
 
3009
                        } else if (strcmp (_tmp83_, "BadAddress") == 0) {
3005
3010
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
3006
 
                        } else if (strcmp (_tmp81_, "NotSupported") == 0) {
 
3011
                        } else if (strcmp (_tmp83_, "NotSupported") == 0) {
3007
3012
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
3008
 
                        } else if (strcmp (_tmp81_, "LimitsExceeded") == 0) {
 
3013
                        } else if (strcmp (_tmp83_, "LimitsExceeded") == 0) {
3009
3014
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
3010
 
                        } else if (strcmp (_tmp81_, "AccessDenied") == 0) {
 
3015
                        } else if (strcmp (_tmp83_, "AccessDenied") == 0) {
3011
3016
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
3012
 
                        } else if (strcmp (_tmp81_, "AuthFailed") == 0) {
 
3017
                        } else if (strcmp (_tmp83_, "AuthFailed") == 0) {
3013
3018
                                _ecode = DBUS_GERROR_AUTH_FAILED;
3014
 
                        } else if (strcmp (_tmp81_, "NoServer") == 0) {
 
3019
                        } else if (strcmp (_tmp83_, "NoServer") == 0) {
3015
3020
                                _ecode = DBUS_GERROR_NO_SERVER;
3016
 
                        } else if (strcmp (_tmp81_, "Timeout") == 0) {
 
3021
                        } else if (strcmp (_tmp83_, "Timeout") == 0) {
3017
3022
                                _ecode = DBUS_GERROR_TIMEOUT;
3018
 
                        } else if (strcmp (_tmp81_, "NoNetwork") == 0) {
 
3023
                        } else if (strcmp (_tmp83_, "NoNetwork") == 0) {
3019
3024
                                _ecode = DBUS_GERROR_NO_NETWORK;
3020
 
                        } else if (strcmp (_tmp81_, "AddressInUse") == 0) {
 
3025
                        } else if (strcmp (_tmp83_, "AddressInUse") == 0) {
3021
3026
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
3022
 
                        } else if (strcmp (_tmp81_, "Disconnected") == 0) {
 
3027
                        } else if (strcmp (_tmp83_, "Disconnected") == 0) {
3023
3028
                                _ecode = DBUS_GERROR_DISCONNECTED;
3024
 
                        } else if (strcmp (_tmp81_, "InvalidArgs") == 0) {
 
3029
                        } else if (strcmp (_tmp83_, "InvalidArgs") == 0) {
3025
3030
                                _ecode = DBUS_GERROR_INVALID_ARGS;
3026
 
                        } else if (strcmp (_tmp81_, "FileNotFound") == 0) {
 
3031
                        } else if (strcmp (_tmp83_, "FileNotFound") == 0) {
3027
3032
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
3028
 
                        } else if (strcmp (_tmp81_, "FileExists") == 0) {
 
3033
                        } else if (strcmp (_tmp83_, "FileExists") == 0) {
3029
3034
                                _ecode = DBUS_GERROR_FILE_EXISTS;
3030
 
                        } else if (strcmp (_tmp81_, "UnknownMethod") == 0) {
 
3035
                        } else if (strcmp (_tmp83_, "UnknownMethod") == 0) {
3031
3036
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
3032
 
                        } else if (strcmp (_tmp81_, "TimedOut") == 0) {
 
3037
                        } else if (strcmp (_tmp83_, "TimedOut") == 0) {
3033
3038
                                _ecode = DBUS_GERROR_TIMED_OUT;
3034
 
                        } else if (strcmp (_tmp81_, "MatchRuleNotFound") == 0) {
 
3039
                        } else if (strcmp (_tmp83_, "MatchRuleNotFound") == 0) {
3035
3040
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
3036
 
                        } else if (strcmp (_tmp81_, "MatchRuleInvalid") == 0) {
 
3041
                        } else if (strcmp (_tmp83_, "MatchRuleInvalid") == 0) {
3037
3042
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
3038
 
                        } else if (strcmp (_tmp81_, "Spawn.ExecFailed") == 0) {
 
3043
                        } else if (strcmp (_tmp83_, "Spawn.ExecFailed") == 0) {
3039
3044
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
3040
 
                        } else if (strcmp (_tmp81_, "Spawn.ForkFailed") == 0) {
 
3045
                        } else if (strcmp (_tmp83_, "Spawn.ForkFailed") == 0) {
3041
3046
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
3042
 
                        } else if (strcmp (_tmp81_, "Spawn.ChildExited") == 0) {
 
3047
                        } else if (strcmp (_tmp83_, "Spawn.ChildExited") == 0) {
3043
3048
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
3044
 
                        } else if (strcmp (_tmp81_, "Spawn.ChildSignaled") == 0) {
 
3049
                        } else if (strcmp (_tmp83_, "Spawn.ChildSignaled") == 0) {
3045
3050
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
3046
 
                        } else if (strcmp (_tmp81_, "Spawn.Failed") == 0) {
 
3051
                        } else if (strcmp (_tmp83_, "Spawn.Failed") == 0) {
3047
3052
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
3048
 
                        } else if (strcmp (_tmp81_, "UnixProcessIdUnknown") == 0) {
 
3053
                        } else if (strcmp (_tmp83_, "UnixProcessIdUnknown") == 0) {
3049
3054
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
3050
 
                        } else if (strcmp (_tmp81_, "InvalidSignature") == 0) {
 
3055
                        } else if (strcmp (_tmp83_, "InvalidSignature") == 0) {
3051
3056
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
3052
 
                        } else if (strcmp (_tmp81_, "InvalidFileContent") == 0) {
 
3057
                        } else if (strcmp (_tmp83_, "InvalidFileContent") == 0) {
3053
3058
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
3054
 
                        } else if (strcmp (_tmp81_, "SELinuxSecurityContextUnknown") == 0) {
 
3059
                        } else if (strcmp (_tmp83_, "SELinuxSecurityContextUnknown") == 0) {
3055
3060
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
3056
 
                        } else if (strcmp (_tmp81_, "RemoteException") == 0) {
 
3061
                        } else if (strcmp (_tmp83_, "RemoteException") == 0) {
3057
3062
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
3058
3063
                        }
3059
3064
                }
3061
3066
                dbus_error_free (&_dbus_error);
3062
3067
                return NULL;
3063
3068
        }
3064
 
        if (strcmp (dbus_message_get_signature (_reply), "a(us)")) {
3065
 
                g_set_error (error, DBUS_GERROR, DBUS_GERROR_INVALID_SIGNATURE, "Invalid signature, expected \"%s\", got \"%s\"", "a(us)", dbus_message_get_signature (_reply));
 
3069
        if (strcmp (dbus_message_get_signature (_reply), "a(usb)")) {
 
3070
                g_set_error (error, DBUS_GERROR, DBUS_GERROR_INVALID_SIGNATURE, "Invalid signature, expected \"%s\", got \"%s\"", "a(usb)", dbus_message_get_signature (_reply));
3066
3071
                dbus_message_unref (_reply);
3067
3072
                return NULL;
3068
3073
        }
3069
3074
        dbus_message_iter_init (_reply, &_iter);
3070
3075
        _result_length1 = 0;
3071
 
        _tmp75_ = g_new (DVBChannelInfo, 5);
3072
 
        _tmp75__length = 0;
3073
 
        _tmp75__size = 4;
3074
 
        _tmp75__length1 = 0;
3075
 
        dbus_message_iter_recurse (&_iter, &_tmp76_);
3076
 
        for (; dbus_message_iter_get_arg_type (&_tmp76_); _tmp75__length1++) {
3077
 
                DVBChannelInfo _tmp77_;
3078
 
                DBusMessageIter _tmp78_;
3079
 
                dbus_uint32_t _tmp79_;
3080
 
                const char* _tmp80_;
3081
 
                if (_tmp75__size == _tmp75__length) {
3082
 
                        _tmp75__size = 2 * _tmp75__size;
3083
 
                        _tmp75_ = g_renew (DVBChannelInfo, _tmp75_, _tmp75__size + 1);
 
3076
        _tmp76_ = g_new (DVBChannelInfo, 5);
 
3077
        _tmp76__length = 0;
 
3078
        _tmp76__size = 4;
 
3079
        _tmp76__length1 = 0;
 
3080
        dbus_message_iter_recurse (&_iter, &_tmp77_);
 
3081
        for (; dbus_message_iter_get_arg_type (&_tmp77_); _tmp76__length1++) {
 
3082
                DVBChannelInfo _tmp78_;
 
3083
                DBusMessageIter _tmp79_;
 
3084
                dbus_uint32_t _tmp80_;
 
3085
                const char* _tmp81_;
 
3086
                dbus_bool_t _tmp82_;
 
3087
                if (_tmp76__size == _tmp76__length) {
 
3088
                        _tmp76__size = 2 * _tmp76__size;
 
3089
                        _tmp76_ = g_renew (DVBChannelInfo, _tmp76_, _tmp76__size + 1);
3084
3090
                }
3085
 
                dbus_message_iter_recurse (&_tmp76_, &_tmp78_);
3086
 
                dbus_message_iter_get_basic (&_tmp78_, &_tmp79_);
3087
 
                dbus_message_iter_next (&_tmp78_);
3088
 
                _tmp77_.id = _tmp79_;
3089
 
                dbus_message_iter_get_basic (&_tmp78_, &_tmp80_);
3090
 
                dbus_message_iter_next (&_tmp78_);
3091
 
                _tmp77_.name = g_strdup (_tmp80_);
3092
 
                dbus_message_iter_next (&_tmp76_);
3093
 
                _tmp75_[_tmp75__length++] = _tmp77_;
 
3091
                dbus_message_iter_recurse (&_tmp77_, &_tmp79_);
 
3092
                dbus_message_iter_get_basic (&_tmp79_, &_tmp80_);
 
3093
                dbus_message_iter_next (&_tmp79_);
 
3094
                _tmp78_.id = _tmp80_;
 
3095
                dbus_message_iter_get_basic (&_tmp79_, &_tmp81_);
 
3096
                dbus_message_iter_next (&_tmp79_);
 
3097
                _tmp78_.name = g_strdup (_tmp81_);
 
3098
                dbus_message_iter_get_basic (&_tmp79_, &_tmp82_);
 
3099
                dbus_message_iter_next (&_tmp79_);
 
3100
                _tmp78_.is_radio = _tmp82_;
 
3101
                dbus_message_iter_next (&_tmp77_);
 
3102
                _tmp76_[_tmp76__length++] = _tmp78_;
3094
3103
        }
3095
 
        _result_length1 = _tmp75__length1;
 
3104
        _result_length1 = _tmp76__length1;
3096
3105
        dbus_message_iter_next (&_iter);
3097
 
        _result = _tmp75_;
 
3106
        _result = _tmp76_;
3098
3107
        *result_length1 = _result_length1;
3099
3108
        dbus_message_unref (_reply);
3100
3109
        return _result;
3106
3115
        DBusGConnection *_connection;
3107
3116
        DBusMessage *_message, *_reply;
3108
3117
        DBusMessageIter _iter;
3109
 
        dbus_int32_t _tmp82_;
 
3118
        dbus_int32_t _tmp84_;
3110
3119
        guint* _channel_ids;
3111
3120
        int _channel_ids_length1;
3112
 
        guint* _tmp83_;
3113
 
        int _tmp83__length;
3114
 
        int _tmp83__size;
3115
 
        int _tmp83__length1;
3116
 
        DBusMessageIter _tmp84_;
 
3121
        guint* _tmp85_;
 
3122
        int _tmp85__length;
 
3123
        int _tmp85__size;
 
3124
        int _tmp85__length1;
 
3125
        DBusMessageIter _tmp86_;
3117
3126
        gboolean _result;
3118
 
        dbus_bool_t _tmp86_;
 
3127
        dbus_bool_t _tmp88_;
3119
3128
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
3120
3129
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
3121
3130
                return FALSE;
3122
3131
        }
3123
3132
        _message = dbus_message_new_method_call (dbus_g_proxy_get_bus_name ((DBusGProxy*) self), dbus_g_proxy_get_path ((DBusGProxy*) self), "org.gnome.DVB.ChannelList", "GetChannelsOfGroup");
3124
3133
        dbus_message_iter_init_append (_message, &_iter);
3125
 
        _tmp82_ = channel_group_id;
3126
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_INT32, &_tmp82_);
 
3134
        _tmp84_ = channel_group_id;
 
3135
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_INT32, &_tmp84_);
3127
3136
        g_object_get (self, "connection", &_connection, NULL);
3128
3137
        dbus_error_init (&_dbus_error);
3129
3138
        _reply = dbus_connection_send_with_reply_and_block (dbus_g_connection_get_connection (_connection), _message, -1, &_dbus_error);
3133
3142
                GQuark _edomain;
3134
3143
                gint _ecode;
3135
3144
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
3136
 
                        const char* _tmp87_;
 
3145
                        const char* _tmp89_;
3137
3146
                        _edomain = DBUS_GERROR;
3138
 
                        _tmp87_ = _dbus_error.name + 27;
3139
 
                        if (strcmp (_tmp87_, "Failed") == 0) {
 
3147
                        _tmp89_ = _dbus_error.name + 27;
 
3148
                        if (strcmp (_tmp89_, "Failed") == 0) {
3140
3149
                                _ecode = DBUS_GERROR_FAILED;
3141
 
                        } else if (strcmp (_tmp87_, "NoMemory") == 0) {
 
3150
                        } else if (strcmp (_tmp89_, "NoMemory") == 0) {
3142
3151
                                _ecode = DBUS_GERROR_NO_MEMORY;
3143
 
                        } else if (strcmp (_tmp87_, "ServiceUnknown") == 0) {
 
3152
                        } else if (strcmp (_tmp89_, "ServiceUnknown") == 0) {
3144
3153
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
3145
 
                        } else if (strcmp (_tmp87_, "NameHasNoOwner") == 0) {
 
3154
                        } else if (strcmp (_tmp89_, "NameHasNoOwner") == 0) {
3146
3155
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
3147
 
                        } else if (strcmp (_tmp87_, "NoReply") == 0) {
 
3156
                        } else if (strcmp (_tmp89_, "NoReply") == 0) {
3148
3157
                                _ecode = DBUS_GERROR_NO_REPLY;
3149
 
                        } else if (strcmp (_tmp87_, "IOError") == 0) {
 
3158
                        } else if (strcmp (_tmp89_, "IOError") == 0) {
3150
3159
                                _ecode = DBUS_GERROR_IO_ERROR;
3151
 
                        } else if (strcmp (_tmp87_, "BadAddress") == 0) {
 
3160
                        } else if (strcmp (_tmp89_, "BadAddress") == 0) {
3152
3161
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
3153
 
                        } else if (strcmp (_tmp87_, "NotSupported") == 0) {
 
3162
                        } else if (strcmp (_tmp89_, "NotSupported") == 0) {
3154
3163
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
3155
 
                        } else if (strcmp (_tmp87_, "LimitsExceeded") == 0) {
 
3164
                        } else if (strcmp (_tmp89_, "LimitsExceeded") == 0) {
3156
3165
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
3157
 
                        } else if (strcmp (_tmp87_, "AccessDenied") == 0) {
 
3166
                        } else if (strcmp (_tmp89_, "AccessDenied") == 0) {
3158
3167
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
3159
 
                        } else if (strcmp (_tmp87_, "AuthFailed") == 0) {
 
3168
                        } else if (strcmp (_tmp89_, "AuthFailed") == 0) {
3160
3169
                                _ecode = DBUS_GERROR_AUTH_FAILED;
3161
 
                        } else if (strcmp (_tmp87_, "NoServer") == 0) {
 
3170
                        } else if (strcmp (_tmp89_, "NoServer") == 0) {
3162
3171
                                _ecode = DBUS_GERROR_NO_SERVER;
3163
 
                        } else if (strcmp (_tmp87_, "Timeout") == 0) {
 
3172
                        } else if (strcmp (_tmp89_, "Timeout") == 0) {
3164
3173
                                _ecode = DBUS_GERROR_TIMEOUT;
3165
 
                        } else if (strcmp (_tmp87_, "NoNetwork") == 0) {
 
3174
                        } else if (strcmp (_tmp89_, "NoNetwork") == 0) {
3166
3175
                                _ecode = DBUS_GERROR_NO_NETWORK;
3167
 
                        } else if (strcmp (_tmp87_, "AddressInUse") == 0) {
 
3176
                        } else if (strcmp (_tmp89_, "AddressInUse") == 0) {
3168
3177
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
3169
 
                        } else if (strcmp (_tmp87_, "Disconnected") == 0) {
 
3178
                        } else if (strcmp (_tmp89_, "Disconnected") == 0) {
3170
3179
                                _ecode = DBUS_GERROR_DISCONNECTED;
3171
 
                        } else if (strcmp (_tmp87_, "InvalidArgs") == 0) {
 
3180
                        } else if (strcmp (_tmp89_, "InvalidArgs") == 0) {
3172
3181
                                _ecode = DBUS_GERROR_INVALID_ARGS;
3173
 
                        } else if (strcmp (_tmp87_, "FileNotFound") == 0) {
 
3182
                        } else if (strcmp (_tmp89_, "FileNotFound") == 0) {
3174
3183
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
3175
 
                        } else if (strcmp (_tmp87_, "FileExists") == 0) {
 
3184
                        } else if (strcmp (_tmp89_, "FileExists") == 0) {
3176
3185
                                _ecode = DBUS_GERROR_FILE_EXISTS;
3177
 
                        } else if (strcmp (_tmp87_, "UnknownMethod") == 0) {
 
3186
                        } else if (strcmp (_tmp89_, "UnknownMethod") == 0) {
3178
3187
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
3179
 
                        } else if (strcmp (_tmp87_, "TimedOut") == 0) {
 
3188
                        } else if (strcmp (_tmp89_, "TimedOut") == 0) {
3180
3189
                                _ecode = DBUS_GERROR_TIMED_OUT;
3181
 
                        } else if (strcmp (_tmp87_, "MatchRuleNotFound") == 0) {
 
3190
                        } else if (strcmp (_tmp89_, "MatchRuleNotFound") == 0) {
3182
3191
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
3183
 
                        } else if (strcmp (_tmp87_, "MatchRuleInvalid") == 0) {
 
3192
                        } else if (strcmp (_tmp89_, "MatchRuleInvalid") == 0) {
3184
3193
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
3185
 
                        } else if (strcmp (_tmp87_, "Spawn.ExecFailed") == 0) {
 
3194
                        } else if (strcmp (_tmp89_, "Spawn.ExecFailed") == 0) {
3186
3195
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
3187
 
                        } else if (strcmp (_tmp87_, "Spawn.ForkFailed") == 0) {
 
3196
                        } else if (strcmp (_tmp89_, "Spawn.ForkFailed") == 0) {
3188
3197
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
3189
 
                        } else if (strcmp (_tmp87_, "Spawn.ChildExited") == 0) {
 
3198
                        } else if (strcmp (_tmp89_, "Spawn.ChildExited") == 0) {
3190
3199
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
3191
 
                        } else if (strcmp (_tmp87_, "Spawn.ChildSignaled") == 0) {
 
3200
                        } else if (strcmp (_tmp89_, "Spawn.ChildSignaled") == 0) {
3192
3201
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
3193
 
                        } else if (strcmp (_tmp87_, "Spawn.Failed") == 0) {
 
3202
                        } else if (strcmp (_tmp89_, "Spawn.Failed") == 0) {
3194
3203
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
3195
 
                        } else if (strcmp (_tmp87_, "UnixProcessIdUnknown") == 0) {
 
3204
                        } else if (strcmp (_tmp89_, "UnixProcessIdUnknown") == 0) {
3196
3205
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
3197
 
                        } else if (strcmp (_tmp87_, "InvalidSignature") == 0) {
 
3206
                        } else if (strcmp (_tmp89_, "InvalidSignature") == 0) {
3198
3207
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
3199
 
                        } else if (strcmp (_tmp87_, "InvalidFileContent") == 0) {
 
3208
                        } else if (strcmp (_tmp89_, "InvalidFileContent") == 0) {
3200
3209
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
3201
 
                        } else if (strcmp (_tmp87_, "SELinuxSecurityContextUnknown") == 0) {
 
3210
                        } else if (strcmp (_tmp89_, "SELinuxSecurityContextUnknown") == 0) {
3202
3211
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
3203
 
                        } else if (strcmp (_tmp87_, "RemoteException") == 0) {
 
3212
                        } else if (strcmp (_tmp89_, "RemoteException") == 0) {
3204
3213
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
3205
3214
                        }
3206
3215
                }
3215
3224
        }
3216
3225
        dbus_message_iter_init (_reply, &_iter);
3217
3226
        _channel_ids_length1 = 0;
3218
 
        _tmp83_ = g_new (guint, 5);
3219
 
        _tmp83__length = 0;
3220
 
        _tmp83__size = 4;
3221
 
        _tmp83__length1 = 0;
3222
 
        dbus_message_iter_recurse (&_iter, &_tmp84_);
3223
 
        for (; dbus_message_iter_get_arg_type (&_tmp84_); _tmp83__length1++) {
3224
 
                dbus_uint32_t _tmp85_;
3225
 
                if (_tmp83__size == _tmp83__length) {
3226
 
                        _tmp83__size = 2 * _tmp83__size;
3227
 
                        _tmp83_ = g_renew (guint, _tmp83_, _tmp83__size + 1);
 
3227
        _tmp85_ = g_new (guint, 5);
 
3228
        _tmp85__length = 0;
 
3229
        _tmp85__size = 4;
 
3230
        _tmp85__length1 = 0;
 
3231
        dbus_message_iter_recurse (&_iter, &_tmp86_);
 
3232
        for (; dbus_message_iter_get_arg_type (&_tmp86_); _tmp85__length1++) {
 
3233
                dbus_uint32_t _tmp87_;
 
3234
                if (_tmp85__size == _tmp85__length) {
 
3235
                        _tmp85__size = 2 * _tmp85__size;
 
3236
                        _tmp85_ = g_renew (guint, _tmp85_, _tmp85__size + 1);
3228
3237
                }
3229
 
                dbus_message_iter_get_basic (&_tmp84_, &_tmp85_);
3230
 
                dbus_message_iter_next (&_tmp84_);
3231
 
                _tmp83_[_tmp83__length++] = _tmp85_;
 
3238
                dbus_message_iter_get_basic (&_tmp86_, &_tmp87_);
 
3239
                dbus_message_iter_next (&_tmp86_);
 
3240
                _tmp85_[_tmp85__length++] = _tmp87_;
3232
3241
        }
3233
 
        _channel_ids_length1 = _tmp83__length1;
 
3242
        _channel_ids_length1 = _tmp85__length1;
3234
3243
        dbus_message_iter_next (&_iter);
3235
 
        _channel_ids = _tmp83_;
 
3244
        _channel_ids = _tmp85_;
3236
3245
        *channel_ids = _channel_ids;
3237
3246
        *channel_ids_length1 = _channel_ids_length1;
3238
 
        dbus_message_iter_get_basic (&_iter, &_tmp86_);
 
3247
        dbus_message_iter_get_basic (&_iter, &_tmp88_);
3239
3248
        dbus_message_iter_next (&_iter);
3240
 
        _result = _tmp86_;
 
3249
        _result = _tmp88_;
3241
3250
        dbus_message_unref (_reply);
3242
3251
        return _result;
3243
3252
}
3248
3257
        DBusGConnection *_connection;
3249
3258
        DBusMessage *_message, *_reply;
3250
3259
        DBusMessageIter _iter;
3251
 
        dbus_uint32_t _tmp88_;
3252
 
        dbus_int32_t _tmp89_;
 
3260
        dbus_uint32_t _tmp90_;
 
3261
        dbus_int32_t _tmp91_;
3253
3262
        gboolean _result;
3254
 
        dbus_bool_t _tmp90_;
 
3263
        dbus_bool_t _tmp92_;
3255
3264
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
3256
3265
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
3257
3266
                return FALSE;
3258
3267
        }
3259
3268
        _message = dbus_message_new_method_call (dbus_g_proxy_get_bus_name ((DBusGProxy*) self), dbus_g_proxy_get_path ((DBusGProxy*) self), "org.gnome.DVB.ChannelList", "AddChannelToGroup");
3260
3269
        dbus_message_iter_init_append (_message, &_iter);
3261
 
        _tmp88_ = channel_id;
3262
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp88_);
3263
 
        _tmp89_ = channel_group_id;
3264
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_INT32, &_tmp89_);
 
3270
        _tmp90_ = channel_id;
 
3271
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp90_);
 
3272
        _tmp91_ = channel_group_id;
 
3273
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_INT32, &_tmp91_);
3265
3274
        g_object_get (self, "connection", &_connection, NULL);
3266
3275
        dbus_error_init (&_dbus_error);
3267
3276
        _reply = dbus_connection_send_with_reply_and_block (dbus_g_connection_get_connection (_connection), _message, -1, &_dbus_error);
3271
3280
                GQuark _edomain;
3272
3281
                gint _ecode;
3273
3282
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
3274
 
                        const char* _tmp91_;
 
3283
                        const char* _tmp93_;
3275
3284
                        _edomain = DBUS_GERROR;
3276
 
                        _tmp91_ = _dbus_error.name + 27;
3277
 
                        if (strcmp (_tmp91_, "Failed") == 0) {
 
3285
                        _tmp93_ = _dbus_error.name + 27;
 
3286
                        if (strcmp (_tmp93_, "Failed") == 0) {
3278
3287
                                _ecode = DBUS_GERROR_FAILED;
3279
 
                        } else if (strcmp (_tmp91_, "NoMemory") == 0) {
 
3288
                        } else if (strcmp (_tmp93_, "NoMemory") == 0) {
3280
3289
                                _ecode = DBUS_GERROR_NO_MEMORY;
3281
 
                        } else if (strcmp (_tmp91_, "ServiceUnknown") == 0) {
 
3290
                        } else if (strcmp (_tmp93_, "ServiceUnknown") == 0) {
3282
3291
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
3283
 
                        } else if (strcmp (_tmp91_, "NameHasNoOwner") == 0) {
 
3292
                        } else if (strcmp (_tmp93_, "NameHasNoOwner") == 0) {
3284
3293
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
3285
 
                        } else if (strcmp (_tmp91_, "NoReply") == 0) {
 
3294
                        } else if (strcmp (_tmp93_, "NoReply") == 0) {
3286
3295
                                _ecode = DBUS_GERROR_NO_REPLY;
3287
 
                        } else if (strcmp (_tmp91_, "IOError") == 0) {
 
3296
                        } else if (strcmp (_tmp93_, "IOError") == 0) {
3288
3297
                                _ecode = DBUS_GERROR_IO_ERROR;
3289
 
                        } else if (strcmp (_tmp91_, "BadAddress") == 0) {
 
3298
                        } else if (strcmp (_tmp93_, "BadAddress") == 0) {
3290
3299
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
3291
 
                        } else if (strcmp (_tmp91_, "NotSupported") == 0) {
 
3300
                        } else if (strcmp (_tmp93_, "NotSupported") == 0) {
3292
3301
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
3293
 
                        } else if (strcmp (_tmp91_, "LimitsExceeded") == 0) {
 
3302
                        } else if (strcmp (_tmp93_, "LimitsExceeded") == 0) {
3294
3303
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
3295
 
                        } else if (strcmp (_tmp91_, "AccessDenied") == 0) {
 
3304
                        } else if (strcmp (_tmp93_, "AccessDenied") == 0) {
3296
3305
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
3297
 
                        } else if (strcmp (_tmp91_, "AuthFailed") == 0) {
 
3306
                        } else if (strcmp (_tmp93_, "AuthFailed") == 0) {
3298
3307
                                _ecode = DBUS_GERROR_AUTH_FAILED;
3299
 
                        } else if (strcmp (_tmp91_, "NoServer") == 0) {
 
3308
                        } else if (strcmp (_tmp93_, "NoServer") == 0) {
3300
3309
                                _ecode = DBUS_GERROR_NO_SERVER;
3301
 
                        } else if (strcmp (_tmp91_, "Timeout") == 0) {
 
3310
                        } else if (strcmp (_tmp93_, "Timeout") == 0) {
3302
3311
                                _ecode = DBUS_GERROR_TIMEOUT;
3303
 
                        } else if (strcmp (_tmp91_, "NoNetwork") == 0) {
 
3312
                        } else if (strcmp (_tmp93_, "NoNetwork") == 0) {
3304
3313
                                _ecode = DBUS_GERROR_NO_NETWORK;
3305
 
                        } else if (strcmp (_tmp91_, "AddressInUse") == 0) {
 
3314
                        } else if (strcmp (_tmp93_, "AddressInUse") == 0) {
3306
3315
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
3307
 
                        } else if (strcmp (_tmp91_, "Disconnected") == 0) {
 
3316
                        } else if (strcmp (_tmp93_, "Disconnected") == 0) {
3308
3317
                                _ecode = DBUS_GERROR_DISCONNECTED;
3309
 
                        } else if (strcmp (_tmp91_, "InvalidArgs") == 0) {
 
3318
                        } else if (strcmp (_tmp93_, "InvalidArgs") == 0) {
3310
3319
                                _ecode = DBUS_GERROR_INVALID_ARGS;
3311
 
                        } else if (strcmp (_tmp91_, "FileNotFound") == 0) {
 
3320
                        } else if (strcmp (_tmp93_, "FileNotFound") == 0) {
3312
3321
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
3313
 
                        } else if (strcmp (_tmp91_, "FileExists") == 0) {
 
3322
                        } else if (strcmp (_tmp93_, "FileExists") == 0) {
3314
3323
                                _ecode = DBUS_GERROR_FILE_EXISTS;
3315
 
                        } else if (strcmp (_tmp91_, "UnknownMethod") == 0) {
 
3324
                        } else if (strcmp (_tmp93_, "UnknownMethod") == 0) {
3316
3325
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
3317
 
                        } else if (strcmp (_tmp91_, "TimedOut") == 0) {
 
3326
                        } else if (strcmp (_tmp93_, "TimedOut") == 0) {
3318
3327
                                _ecode = DBUS_GERROR_TIMED_OUT;
3319
 
                        } else if (strcmp (_tmp91_, "MatchRuleNotFound") == 0) {
 
3328
                        } else if (strcmp (_tmp93_, "MatchRuleNotFound") == 0) {
3320
3329
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
3321
 
                        } else if (strcmp (_tmp91_, "MatchRuleInvalid") == 0) {
 
3330
                        } else if (strcmp (_tmp93_, "MatchRuleInvalid") == 0) {
3322
3331
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
3323
 
                        } else if (strcmp (_tmp91_, "Spawn.ExecFailed") == 0) {
 
3332
                        } else if (strcmp (_tmp93_, "Spawn.ExecFailed") == 0) {
3324
3333
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
3325
 
                        } else if (strcmp (_tmp91_, "Spawn.ForkFailed") == 0) {
 
3334
                        } else if (strcmp (_tmp93_, "Spawn.ForkFailed") == 0) {
3326
3335
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
3327
 
                        } else if (strcmp (_tmp91_, "Spawn.ChildExited") == 0) {
 
3336
                        } else if (strcmp (_tmp93_, "Spawn.ChildExited") == 0) {
3328
3337
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
3329
 
                        } else if (strcmp (_tmp91_, "Spawn.ChildSignaled") == 0) {
 
3338
                        } else if (strcmp (_tmp93_, "Spawn.ChildSignaled") == 0) {
3330
3339
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
3331
 
                        } else if (strcmp (_tmp91_, "Spawn.Failed") == 0) {
 
3340
                        } else if (strcmp (_tmp93_, "Spawn.Failed") == 0) {
3332
3341
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
3333
 
                        } else if (strcmp (_tmp91_, "UnixProcessIdUnknown") == 0) {
 
3342
                        } else if (strcmp (_tmp93_, "UnixProcessIdUnknown") == 0) {
3334
3343
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
3335
 
                        } else if (strcmp (_tmp91_, "InvalidSignature") == 0) {
 
3344
                        } else if (strcmp (_tmp93_, "InvalidSignature") == 0) {
3336
3345
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
3337
 
                        } else if (strcmp (_tmp91_, "InvalidFileContent") == 0) {
 
3346
                        } else if (strcmp (_tmp93_, "InvalidFileContent") == 0) {
3338
3347
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
3339
 
                        } else if (strcmp (_tmp91_, "SELinuxSecurityContextUnknown") == 0) {
 
3348
                        } else if (strcmp (_tmp93_, "SELinuxSecurityContextUnknown") == 0) {
3340
3349
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
3341
 
                        } else if (strcmp (_tmp91_, "RemoteException") == 0) {
 
3350
                        } else if (strcmp (_tmp93_, "RemoteException") == 0) {
3342
3351
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
3343
3352
                        }
3344
3353
                }
3352
3361
                return FALSE;
3353
3362
        }
3354
3363
        dbus_message_iter_init (_reply, &_iter);
3355
 
        dbus_message_iter_get_basic (&_iter, &_tmp90_);
 
3364
        dbus_message_iter_get_basic (&_iter, &_tmp92_);
3356
3365
        dbus_message_iter_next (&_iter);
3357
 
        _result = _tmp90_;
 
3366
        _result = _tmp92_;
3358
3367
        dbus_message_unref (_reply);
3359
3368
        return _result;
3360
3369
}
3365
3374
        DBusGConnection *_connection;
3366
3375
        DBusMessage *_message, *_reply;
3367
3376
        DBusMessageIter _iter;
3368
 
        dbus_uint32_t _tmp92_;
3369
 
        dbus_int32_t _tmp93_;
 
3377
        dbus_uint32_t _tmp94_;
 
3378
        dbus_int32_t _tmp95_;
3370
3379
        gboolean _result;
3371
 
        dbus_bool_t _tmp94_;
 
3380
        dbus_bool_t _tmp96_;
3372
3381
        if (((DVBIDBusChannelListDBusProxy*) self)->disposed) {
3373
3382
                g_set_error_literal (error, DBUS_GERROR, DBUS_GERROR_DISCONNECTED, "Connection is closed");
3374
3383
                return FALSE;
3375
3384
        }
3376
3385
        _message = dbus_message_new_method_call (dbus_g_proxy_get_bus_name ((DBusGProxy*) self), dbus_g_proxy_get_path ((DBusGProxy*) self), "org.gnome.DVB.ChannelList", "RemoveChannelFromGroup");
3377
3386
        dbus_message_iter_init_append (_message, &_iter);
3378
 
        _tmp92_ = channel_id;
3379
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp92_);
3380
 
        _tmp93_ = channel_group_id;
3381
 
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_INT32, &_tmp93_);
 
3387
        _tmp94_ = channel_id;
 
3388
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_UINT32, &_tmp94_);
 
3389
        _tmp95_ = channel_group_id;
 
3390
        dbus_message_iter_append_basic (&_iter, DBUS_TYPE_INT32, &_tmp95_);
3382
3391
        g_object_get (self, "connection", &_connection, NULL);
3383
3392
        dbus_error_init (&_dbus_error);
3384
3393
        _reply = dbus_connection_send_with_reply_and_block (dbus_g_connection_get_connection (_connection), _message, -1, &_dbus_error);
3388
3397
                GQuark _edomain;
3389
3398
                gint _ecode;
3390
3399
                if (strstr (_dbus_error.name, "org.freedesktop.DBus.Error") == _dbus_error.name) {
3391
 
                        const char* _tmp95_;
 
3400
                        const char* _tmp97_;
3392
3401
                        _edomain = DBUS_GERROR;
3393
 
                        _tmp95_ = _dbus_error.name + 27;
3394
 
                        if (strcmp (_tmp95_, "Failed") == 0) {
 
3402
                        _tmp97_ = _dbus_error.name + 27;
 
3403
                        if (strcmp (_tmp97_, "Failed") == 0) {
3395
3404
                                _ecode = DBUS_GERROR_FAILED;
3396
 
                        } else if (strcmp (_tmp95_, "NoMemory") == 0) {
 
3405
                        } else if (strcmp (_tmp97_, "NoMemory") == 0) {
3397
3406
                                _ecode = DBUS_GERROR_NO_MEMORY;
3398
 
                        } else if (strcmp (_tmp95_, "ServiceUnknown") == 0) {
 
3407
                        } else if (strcmp (_tmp97_, "ServiceUnknown") == 0) {
3399
3408
                                _ecode = DBUS_GERROR_SERVICE_UNKNOWN;
3400
 
                        } else if (strcmp (_tmp95_, "NameHasNoOwner") == 0) {
 
3409
                        } else if (strcmp (_tmp97_, "NameHasNoOwner") == 0) {
3401
3410
                                _ecode = DBUS_GERROR_NAME_HAS_NO_OWNER;
3402
 
                        } else if (strcmp (_tmp95_, "NoReply") == 0) {
 
3411
                        } else if (strcmp (_tmp97_, "NoReply") == 0) {
3403
3412
                                _ecode = DBUS_GERROR_NO_REPLY;
3404
 
                        } else if (strcmp (_tmp95_, "IOError") == 0) {
 
3413
                        } else if (strcmp (_tmp97_, "IOError") == 0) {
3405
3414
                                _ecode = DBUS_GERROR_IO_ERROR;
3406
 
                        } else if (strcmp (_tmp95_, "BadAddress") == 0) {
 
3415
                        } else if (strcmp (_tmp97_, "BadAddress") == 0) {
3407
3416
                                _ecode = DBUS_GERROR_BAD_ADDRESS;
3408
 
                        } else if (strcmp (_tmp95_, "NotSupported") == 0) {
 
3417
                        } else if (strcmp (_tmp97_, "NotSupported") == 0) {
3409
3418
                                _ecode = DBUS_GERROR_NOT_SUPPORTED;
3410
 
                        } else if (strcmp (_tmp95_, "LimitsExceeded") == 0) {
 
3419
                        } else if (strcmp (_tmp97_, "LimitsExceeded") == 0) {
3411
3420
                                _ecode = DBUS_GERROR_LIMITS_EXCEEDED;
3412
 
                        } else if (strcmp (_tmp95_, "AccessDenied") == 0) {
 
3421
                        } else if (strcmp (_tmp97_, "AccessDenied") == 0) {
3413
3422
                                _ecode = DBUS_GERROR_ACCESS_DENIED;
3414
 
                        } else if (strcmp (_tmp95_, "AuthFailed") == 0) {
 
3423
                        } else if (strcmp (_tmp97_, "AuthFailed") == 0) {
3415
3424
                                _ecode = DBUS_GERROR_AUTH_FAILED;
3416
 
                        } else if (strcmp (_tmp95_, "NoServer") == 0) {
 
3425
                        } else if (strcmp (_tmp97_, "NoServer") == 0) {
3417
3426
                                _ecode = DBUS_GERROR_NO_SERVER;
3418
 
                        } else if (strcmp (_tmp95_, "Timeout") == 0) {
 
3427
                        } else if (strcmp (_tmp97_, "Timeout") == 0) {
3419
3428
                                _ecode = DBUS_GERROR_TIMEOUT;
3420
 
                        } else if (strcmp (_tmp95_, "NoNetwork") == 0) {
 
3429
                        } else if (strcmp (_tmp97_, "NoNetwork") == 0) {
3421
3430
                                _ecode = DBUS_GERROR_NO_NETWORK;
3422
 
                        } else if (strcmp (_tmp95_, "AddressInUse") == 0) {
 
3431
                        } else if (strcmp (_tmp97_, "AddressInUse") == 0) {
3423
3432
                                _ecode = DBUS_GERROR_ADDRESS_IN_USE;
3424
 
                        } else if (strcmp (_tmp95_, "Disconnected") == 0) {
 
3433
                        } else if (strcmp (_tmp97_, "Disconnected") == 0) {
3425
3434
                                _ecode = DBUS_GERROR_DISCONNECTED;
3426
 
                        } else if (strcmp (_tmp95_, "InvalidArgs") == 0) {
 
3435
                        } else if (strcmp (_tmp97_, "InvalidArgs") == 0) {
3427
3436
                                _ecode = DBUS_GERROR_INVALID_ARGS;
3428
 
                        } else if (strcmp (_tmp95_, "FileNotFound") == 0) {
 
3437
                        } else if (strcmp (_tmp97_, "FileNotFound") == 0) {
3429
3438
                                _ecode = DBUS_GERROR_FILE_NOT_FOUND;
3430
 
                        } else if (strcmp (_tmp95_, "FileExists") == 0) {
 
3439
                        } else if (strcmp (_tmp97_, "FileExists") == 0) {
3431
3440
                                _ecode = DBUS_GERROR_FILE_EXISTS;
3432
 
                        } else if (strcmp (_tmp95_, "UnknownMethod") == 0) {
 
3441
                        } else if (strcmp (_tmp97_, "UnknownMethod") == 0) {
3433
3442
                                _ecode = DBUS_GERROR_UNKNOWN_METHOD;
3434
 
                        } else if (strcmp (_tmp95_, "TimedOut") == 0) {
 
3443
                        } else if (strcmp (_tmp97_, "TimedOut") == 0) {
3435
3444
                                _ecode = DBUS_GERROR_TIMED_OUT;
3436
 
                        } else if (strcmp (_tmp95_, "MatchRuleNotFound") == 0) {
 
3445
                        } else if (strcmp (_tmp97_, "MatchRuleNotFound") == 0) {
3437
3446
                                _ecode = DBUS_GERROR_MATCH_RULE_NOT_FOUND;
3438
 
                        } else if (strcmp (_tmp95_, "MatchRuleInvalid") == 0) {
 
3447
                        } else if (strcmp (_tmp97_, "MatchRuleInvalid") == 0) {
3439
3448
                                _ecode = DBUS_GERROR_MATCH_RULE_INVALID;
3440
 
                        } else if (strcmp (_tmp95_, "Spawn.ExecFailed") == 0) {
 
3449
                        } else if (strcmp (_tmp97_, "Spawn.ExecFailed") == 0) {
3441
3450
                                _ecode = DBUS_GERROR_SPAWN_EXEC_FAILED;
3442
 
                        } else if (strcmp (_tmp95_, "Spawn.ForkFailed") == 0) {
 
3451
                        } else if (strcmp (_tmp97_, "Spawn.ForkFailed") == 0) {
3443
3452
                                _ecode = DBUS_GERROR_SPAWN_FORK_FAILED;
3444
 
                        } else if (strcmp (_tmp95_, "Spawn.ChildExited") == 0) {
 
3453
                        } else if (strcmp (_tmp97_, "Spawn.ChildExited") == 0) {
3445
3454
                                _ecode = DBUS_GERROR_SPAWN_CHILD_EXITED;
3446
 
                        } else if (strcmp (_tmp95_, "Spawn.ChildSignaled") == 0) {
 
3455
                        } else if (strcmp (_tmp97_, "Spawn.ChildSignaled") == 0) {
3447
3456
                                _ecode = DBUS_GERROR_SPAWN_CHILD_SIGNALED;
3448
 
                        } else if (strcmp (_tmp95_, "Spawn.Failed") == 0) {
 
3457
                        } else if (strcmp (_tmp97_, "Spawn.Failed") == 0) {
3449
3458
                                _ecode = DBUS_GERROR_SPAWN_FAILED;
3450
 
                        } else if (strcmp (_tmp95_, "UnixProcessIdUnknown") == 0) {
 
3459
                        } else if (strcmp (_tmp97_, "UnixProcessIdUnknown") == 0) {
3451
3460
                                _ecode = DBUS_GERROR_UNIX_PROCESS_ID_UNKNOWN;
3452
 
                        } else if (strcmp (_tmp95_, "InvalidSignature") == 0) {
 
3461
                        } else if (strcmp (_tmp97_, "InvalidSignature") == 0) {
3453
3462
                                _ecode = DBUS_GERROR_INVALID_SIGNATURE;
3454
 
                        } else if (strcmp (_tmp95_, "InvalidFileContent") == 0) {
 
3463
                        } else if (strcmp (_tmp97_, "InvalidFileContent") == 0) {
3455
3464
                                _ecode = DBUS_GERROR_INVALID_FILE_CONTENT;
3456
 
                        } else if (strcmp (_tmp95_, "SELinuxSecurityContextUnknown") == 0) {
 
3465
                        } else if (strcmp (_tmp97_, "SELinuxSecurityContextUnknown") == 0) {
3457
3466
                                _ecode = DBUS_GERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN;
3458
 
                        } else if (strcmp (_tmp95_, "RemoteException") == 0) {
 
3467
                        } else if (strcmp (_tmp97_, "RemoteException") == 0) {
3459
3468
                                _ecode = DBUS_GERROR_REMOTE_EXCEPTION;
3460
3469
                        }
3461
3470
                }
3469
3478
                return FALSE;
3470
3479
        }
3471
3480
        dbus_message_iter_init (_reply, &_iter);
3472
 
        dbus_message_iter_get_basic (&_iter, &_tmp94_);
 
3481
        dbus_message_iter_get_basic (&_iter, &_tmp96_);
3473
3482
        dbus_message_iter_next (&_iter);
3474
 
        _result = _tmp94_;
 
3483
        _result = _tmp96_;
3475
3484
        dbus_message_unref (_reply);
3476
3485
        return _result;
3477
3486
}