~ubuntu-branches/ubuntu/trusty/gwibber/trusty

« back to all changes in this revision

Viewing changes to libgwibber/searches.c

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2012-03-15 17:03:40 UTC
  • mfrom: (1.1.73)
  • Revision ID: package-import@ubuntu.com-20120315170340-4j0wgiu9q44vv3hw
Tags: 3.3.92-0ubuntu1
* New upstream release
  - determine if we are DST or not, and set isdst in the time struct.  This
    fixes the time delta being off by an hour for DST.
  - Make sure we don't keep references to Dee.ModelIter that has been
    removed (LP: #937607)
  - Use the SHA1 hash of the avatar URL instead of simply stripping the
    slashes, to avoid the resulting filename being too long to be created
    on ecryptfs volumes.  (James Tait) (LP: #845374)
  - improved error handling to UrlLib2Downloader (David Klasinc) (LP: #946049)
  - facebook: try to handle data from facebook of type=question to
    prevent empty posts in the feed
  - since gtk+ 3.3.18 scroll events are getting blocked in the Gtk.Label
    for message, so we need to add the event mask for it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
724
724
#line 57 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
725
725
                        if (_inner_error_->domain == G_IO_ERROR) {
726
726
#line 727 "searches.c"
727
 
                                goto __catch33_g_io_error;
 
727
                                goto __catch32_g_io_error;
728
728
                        }
729
729
#line 57 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
730
730
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
753
753
#line 61 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
754
754
                        if (_inner_error_->domain == G_IO_ERROR) {
755
755
#line 756 "searches.c"
756
 
                                goto __catch33_g_io_error;
 
756
                                goto __catch32_g_io_error;
757
757
                        }
758
758
#line 61 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
759
759
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
781
781
                g_signal_connect_object (_tmp7_, "deleted", (GCallback) ____lambda9__searches_interface_deleted, self, 0);
782
782
#line 783 "searches.c"
783
783
        }
784
 
        goto __finally33;
785
 
        __catch33_g_io_error:
 
784
        goto __finally32;
 
785
        __catch32_g_io_error:
786
786
        {
787
787
                GError* e = NULL;
788
788
                GError* _tmp8_;
809
809
                _g_error_free0 (e);
810
810
#line 811 "searches.c"
811
811
        }
812
 
        __finally33:
 
812
        __finally32:
813
813
#line 55 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
814
814
        if (_inner_error_ != NULL) {
815
815
#line 55 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
900
900
#line 90 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
901
901
                if (_inner_error_ != NULL) {
902
902
#line 903 "searches.c"
903
 
                        goto __catch34_g_error;
 
903
                        goto __catch33_g_error;
904
904
                }
905
905
#line 91 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
906
906
                _tmp4_ = json_parser_new ();
919
919
#line 92 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
920
920
                        _g_free0 (_result_);
921
921
#line 922 "searches.c"
922
 
                        goto __catch34_g_error;
 
922
                        goto __catch33_g_error;
923
923
                }
924
924
#line 93 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
925
925
                _tmp7_ = parser;
989
989
                _g_free0 (_result_);
990
990
#line 991 "searches.c"
991
991
        }
992
 
        goto __finally34;
993
 
        __catch34_g_error:
 
992
        goto __finally33;
 
993
        __catch33_g_error:
994
994
        {
995
995
                GError* e = NULL;
996
996
                GError* _tmp20_;
1009
1009
                _g_error_free0 (e);
1010
1010
#line 1011 "searches.c"
1011
1011
        }
1012
 
        __finally34:
 
1012
        __finally33:
1013
1013
#line 88 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1014
1014
        if (_inner_error_ != NULL) {
1015
1015
#line 88 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1054
1054
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1055
1055
                        if (_inner_error_->domain == G_IO_ERROR) {
1056
1056
#line 1057 "searches.c"
1057
 
                                goto __catch35_g_io_error;
 
1057
                                goto __catch34_g_io_error;
1058
1058
                        }
1059
1059
#line 114 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1060
1060
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1065
1065
#line 1066 "searches.c"
1066
1066
                }
1067
1067
        }
1068
 
        goto __finally35;
1069
 
        __catch35_g_io_error:
 
1068
        goto __finally34;
 
1069
        __catch34_g_io_error:
1070
1070
        {
1071
1071
                GError* e = NULL;
1072
1072
                GError* _tmp2_;
1085
1085
                _g_error_free0 (e);
1086
1086
#line 1087 "searches.c"
1087
1087
        }
1088
 
        __finally35:
 
1088
        __finally34:
1089
1089
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1090
1090
        if (_inner_error_ != NULL) {
1091
1091
#line 112 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1305
1305
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1306
1306
                        if (_inner_error_->domain == G_IO_ERROR) {
1307
1307
#line 1308 "searches.c"
1308
 
                                goto __catch36_g_io_error;
 
1308
                                goto __catch35_g_io_error;
1309
1309
                        }
1310
1310
#line 142 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1311
1311
                        __g_list_free__g_object_unref0_0 (searches_list);
1325
1325
                return result;
1326
1326
#line 1327 "searches.c"
1327
1327
        }
1328
 
        goto __finally36;
1329
 
        __catch36_g_io_error:
 
1328
        goto __finally35;
 
1329
        __catch35_g_io_error:
1330
1330
        {
1331
1331
                GError* e = NULL;
1332
1332
                GError* _tmp33_;
1354
1354
                return result;
1355
1355
#line 1356 "searches.c"
1356
1356
        }
1357
 
        __finally36:
 
1357
        __finally35:
1358
1358
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1359
1359
        __g_list_free__g_object_unref0_0 (searches_list);
1360
1360
#line 140 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1422
1422
#line 160 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1423
1423
                if (_inner_error_ != NULL) {
1424
1424
#line 1425 "searches.c"
1425
 
                        goto __catch37_g_error;
 
1425
                        goto __catch36_g_error;
1426
1426
                }
1427
1427
#line 161 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1428
1428
                _tmp2_ = json_parser_new ();
1441
1441
#line 162 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1442
1442
                        _g_free0 (_result_);
1443
1443
#line 1444 "searches.c"
1444
 
                        goto __catch37_g_error;
 
1444
                        goto __catch36_g_error;
1445
1445
                }
1446
1446
#line 163 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1447
1447
                _tmp5_ = parser;
1596
1596
                _g_free0 (_result_);
1597
1597
#line 1598 "searches.c"
1598
1598
        }
1599
 
        goto __finally37;
1600
 
        __catch37_g_error:
 
1599
        goto __finally36;
 
1600
        __catch36_g_error:
1601
1601
        {
1602
1602
                GError* e = NULL;
1603
1603
                GError* _tmp33_;
1616
1616
                _g_error_free0 (e);
1617
1617
#line 1618 "searches.c"
1618
1618
        }
1619
 
        __finally37:
 
1619
        __finally36:
1620
1620
#line 158 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1621
1621
        if (_inner_error_ != NULL) {
1622
1622
#line 158 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1670
1670
#line 185 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1671
1671
                        _g_object_unref0 (parser);
1672
1672
#line 1673 "searches.c"
1673
 
                        goto __catch38_g_error;
 
1673
                        goto __catch37_g_error;
1674
1674
                }
1675
1675
#line 186 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1676
1676
                _tmp2_ = json_parser_get_root (parser);
1700
1700
                _g_object_unref0 (parser);
1701
1701
#line 1702 "searches.c"
1702
1702
        }
1703
 
        goto __finally38;
1704
 
        __catch38_g_error:
 
1703
        goto __finally37;
 
1704
        __catch37_g_error:
1705
1705
        {
1706
1706
                GError* e = NULL;
1707
1707
                GError* _tmp9_;
1720
1720
                _g_error_free0 (e);
1721
1721
#line 1722 "searches.c"
1722
1722
        }
1723
 
        __finally38:
 
1723
        __finally37:
1724
1724
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1725
1725
        if (_inner_error_ != NULL) {
1726
1726
#line 183 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1767
1767
#line 198 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1768
1768
                        _g_object_unref0 (parser);
1769
1769
#line 1770 "searches.c"
1770
 
                        goto __catch39_g_error;
 
1770
                        goto __catch38_g_error;
1771
1771
                }
1772
1772
#line 199 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1773
1773
                _tmp2_ = json_parser_get_root (parser);
1797
1797
                _g_object_unref0 (parser);
1798
1798
#line 1799 "searches.c"
1799
1799
        }
1800
 
        goto __finally39;
1801
 
        __catch39_g_error:
 
1800
        goto __finally38;
 
1801
        __catch38_g_error:
1802
1802
        {
1803
1803
                GError* e = NULL;
1804
1804
                GError* _tmp9_;
1817
1817
                _g_error_free0 (e);
1818
1818
#line 1819 "searches.c"
1819
1819
        }
1820
 
        __finally39:
 
1820
        __finally38:
1821
1821
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1822
1822
        if (_inner_error_ != NULL) {
1823
1823
#line 196 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1864
1864
#line 211 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1865
1865
                        _g_object_unref0 (parser);
1866
1866
#line 1867 "searches.c"
1867
 
                        goto __catch40_g_error;
 
1867
                        goto __catch39_g_error;
1868
1868
                }
1869
1869
#line 212 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1870
1870
                _tmp2_ = json_parser_get_root (parser);
1894
1894
                _g_object_unref0 (parser);
1895
1895
#line 1896 "searches.c"
1896
1896
        }
1897
 
        goto __finally40;
1898
 
        __catch40_g_error:
 
1897
        goto __finally39;
 
1898
        __catch39_g_error:
1899
1899
        {
1900
1900
                GError* e = NULL;
1901
1901
                GError* _tmp9_;
1914
1914
                _g_error_free0 (e);
1915
1915
#line 1916 "searches.c"
1916
1916
        }
1917
 
        __finally40:
 
1917
        __finally39:
1918
1918
#line 209 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"
1919
1919
        if (_inner_error_ != NULL) {
1920
1920
#line 209 "/storage/1/src/gwibber/trunk/libgwibber/searches.vala"