~leprechaun-team/+junk/unity-use-patches

« back to all changes in this revision

Viewing changes to unity/unity-place-browser.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-03 17:00:45 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20100903170045-4wxx5upl87lkqnax
Tags: 0.2.34-0ubuntu1
* New upstream release:
  - Use gettext plural form (LP: #625199)
  - Fix newly pinned app is removed from the launcher on closing that app but
    works fine afterward (LP: #614329)
  - Fix Memory leak in places (LP: #628588)
* remove debian/source/:
  - revert to previous format, seems to confuse daily build and we don't have
    anymore bin patch
* remove upstreamed debian/trash.png, debian/applications.png and
  debian/files.png
* debian/rules:
  - remove copying debian/*png
* debian/libunity0.symbols:
  - refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
static void unity_place_browser_service_impl_set_browsing_state (UnityPlaceBrowserServiceImpl* self, UnityPlace_BrowsingState* value, int value_length1);
259
259
static UnityPlace_BrowsingState* unity_place_browser_service_impl_real_go_back (UnityPlaceBrowserService* base, int* result_length1, GError** error);
260
260
UnityPlace_BrowsingState* unity_place_browser_service_impl_get_browsing_state (UnityPlaceBrowserServiceImpl* self, int* result_length1);
261
 
static UnityPlace_BrowsingState* _vala_array_dup8 (UnityPlace_BrowsingState* self, int length);
 
261
static UnityPlace_BrowsingState* _vala_array_dup9 (UnityPlace_BrowsingState* self, int length);
262
262
static UnityPlace_BrowsingState* unity_place_browser_service_impl_real_go_forward (UnityPlaceBrowserService* base, int* result_length1, GError** error);
263
 
static UnityPlace_BrowsingState* _vala_array_dup9 (UnityPlace_BrowsingState* self, int length);
 
263
static UnityPlace_BrowsingState* _vala_array_dup10 (UnityPlace_BrowsingState* self, int length);
264
264
static UnityPlace_BrowsingState* unity_place_browser_service_impl_real_get_state (UnityPlaceBrowserService* base, int* result_length1, GError** error);
265
 
static UnityPlace_BrowsingState* _vala_array_dup10 (UnityPlace_BrowsingState* self, int length);
 
265
static UnityPlace_BrowsingState* _vala_array_dup11 (UnityPlace_BrowsingState* self, int length);
266
266
const char* unity_place_browser_service_impl_get_dbus_path (UnityPlaceBrowserServiceImpl* self);
267
 
static UnityPlace_BrowsingState* _vala_array_dup11 (UnityPlace_BrowsingState* self, int length);
 
267
static UnityPlace_BrowsingState* _vala_array_dup12 (UnityPlace_BrowsingState* self, int length);
268
268
void unity_place_browser_service_impl_dbus_register_object (DBusConnection* connection, const char* path, void* object);
269
269
void _unity_place_browser_service_impl_dbus_unregister (DBusConnection* connection, void* _user_data_);
270
270
DBusHandlerResult unity_place_browser_service_impl_dbus_message (DBusConnection* connection, DBusMessage* message, void* object);
1535
1535
}
1536
1536
 
1537
1537
 
1538
 
static UnityPlace_BrowsingState* _vala_array_dup8 (UnityPlace_BrowsingState* self, int length) {
 
1538
static UnityPlace_BrowsingState* _vala_array_dup9 (UnityPlace_BrowsingState* self, int length) {
1539
1539
        UnityPlace_BrowsingState* result;
1540
1540
        int i;
1541
1541
        UnityPlace_BrowsingState _tmp0_ = {0};
1555
1555
        UnityPlace_BrowsingState* _tmp2_;
1556
1556
        self = (UnityPlaceBrowserServiceImpl*) base;
1557
1557
        g_signal_emit_by_name (self, "back");
1558
 
        result = (_tmp2_ = (_tmp1_ = unity_place_browser_service_impl_get_browsing_state (self, &_tmp0_), (_tmp1_ == NULL) ? ((gpointer) _tmp1_) : _vala_array_dup8 (_tmp1_, _tmp0_)), *result_length1 = _tmp0_, _tmp2_);
 
1558
        result = (_tmp2_ = (_tmp1_ = unity_place_browser_service_impl_get_browsing_state (self, &_tmp0_), (_tmp1_ == NULL) ? ((gpointer) _tmp1_) : _vala_array_dup9 (_tmp1_, _tmp0_)), *result_length1 = _tmp0_, _tmp2_);
1559
1559
        return result;
1560
1560
}
1561
1561
 
1562
1562
 
1563
 
static UnityPlace_BrowsingState* _vala_array_dup9 (UnityPlace_BrowsingState* self, int length) {
 
1563
static UnityPlace_BrowsingState* _vala_array_dup10 (UnityPlace_BrowsingState* self, int length) {
1564
1564
        UnityPlace_BrowsingState* result;
1565
1565
        int i;
1566
1566
        UnityPlace_BrowsingState _tmp0_ = {0};
1580
1580
        UnityPlace_BrowsingState* _tmp2_;
1581
1581
        self = (UnityPlaceBrowserServiceImpl*) base;
1582
1582
        g_signal_emit_by_name (self, "forward");
1583
 
        result = (_tmp2_ = (_tmp1_ = unity_place_browser_service_impl_get_browsing_state (self, &_tmp0_), (_tmp1_ == NULL) ? ((gpointer) _tmp1_) : _vala_array_dup9 (_tmp1_, _tmp0_)), *result_length1 = _tmp0_, _tmp2_);
 
1583
        result = (_tmp2_ = (_tmp1_ = unity_place_browser_service_impl_get_browsing_state (self, &_tmp0_), (_tmp1_ == NULL) ? ((gpointer) _tmp1_) : _vala_array_dup10 (_tmp1_, _tmp0_)), *result_length1 = _tmp0_, _tmp2_);
1584
1584
        return result;
1585
1585
}
1586
1586
 
1587
1587
 
1588
 
static UnityPlace_BrowsingState* _vala_array_dup10 (UnityPlace_BrowsingState* self, int length) {
 
1588
static UnityPlace_BrowsingState* _vala_array_dup11 (UnityPlace_BrowsingState* self, int length) {
1589
1589
        UnityPlace_BrowsingState* result;
1590
1590
        int i;
1591
1591
        UnityPlace_BrowsingState _tmp0_ = {0};
1604
1604
        UnityPlace_BrowsingState* _tmp1_;
1605
1605
        UnityPlace_BrowsingState* _tmp2_;
1606
1606
        self = (UnityPlaceBrowserServiceImpl*) base;
1607
 
        result = (_tmp2_ = (_tmp1_ = unity_place_browser_service_impl_get_browsing_state (self, &_tmp0_), (_tmp1_ == NULL) ? ((gpointer) _tmp1_) : _vala_array_dup10 (_tmp1_, _tmp0_)), *result_length1 = _tmp0_, _tmp2_);
 
1607
        result = (_tmp2_ = (_tmp1_ = unity_place_browser_service_impl_get_browsing_state (self, &_tmp0_), (_tmp1_ == NULL) ? ((gpointer) _tmp1_) : _vala_array_dup11 (_tmp1_, _tmp0_)), *result_length1 = _tmp0_, _tmp2_);
1608
1608
        return result;
1609
1609
}
1610
1610
 
1634
1634
}
1635
1635
 
1636
1636
 
1637
 
static UnityPlace_BrowsingState* _vala_array_dup11 (UnityPlace_BrowsingState* self, int length) {
 
1637
static UnityPlace_BrowsingState* _vala_array_dup12 (UnityPlace_BrowsingState* self, int length) {
1638
1638
        UnityPlace_BrowsingState* result;
1639
1639
        int i;
1640
1640
        UnityPlace_BrowsingState _tmp0_ = {0};
1650
1650
        UnityPlace_BrowsingState* _tmp0_;
1651
1651
        UnityPlace_BrowsingState* _tmp1_;
1652
1652
        g_return_if_fail (self != NULL);
1653
 
        self->priv->_browsing_state = (_tmp1_ = (_tmp0_ = value, (_tmp0_ == NULL) ? ((gpointer) _tmp0_) : _vala_array_dup11 (_tmp0_, value_length1)), self->priv->_browsing_state = (_vala_UnityPlace_BrowsingState_array_free (self->priv->_browsing_state, self->priv->_browsing_state_length1), NULL), self->priv->_browsing_state_length1 = value_length1, self->priv->__browsing_state_size_ = self->priv->_browsing_state_length1, _tmp1_);
 
1653
        self->priv->_browsing_state = (_tmp1_ = (_tmp0_ = value, (_tmp0_ == NULL) ? ((gpointer) _tmp0_) : _vala_array_dup12 (_tmp0_, value_length1)), self->priv->_browsing_state = (_vala_UnityPlace_BrowsingState_array_free (self->priv->_browsing_state, self->priv->_browsing_state_length1), NULL), self->priv->_browsing_state_length1 = value_length1, self->priv->__browsing_state_size_ = self->priv->_browsing_state_length1, _tmp1_);
1654
1654
}
1655
1655
 
1656
1656