~ubuntu-branches/ubuntu/utopic/latexila/utopic

« back to all changes in this revision

Viewing changes to src/utils.c

  • Committer: Package Import Robot
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2014-05-11 22:39:49 UTC
  • mfrom: (1.3.8)
  • Revision ID: package-import@ubuntu.com-20140511223949-663imiuizgctkyn0
Tags: 2.12.1-0ubuntu1
* New upstream release.
* Upstream ChangeLog: (2.10.1 -> 2.12.0)
  - Refresh structure when saving
  - Misc bugfixes and small improvements
  - Translations updates
* Upstream ChangeLog: (2.12.0 -> 2.12.1)
  - Fix regex in latex post-processor
  - Added Polish translation
  - Translation updates
* debian/control:
  - GLib 2.40 is required
  - Bumped Standards-Version (no changes required)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* utils.c generated by valac 0.23.2.3-f949, the Vala compiler
 
1
/* utils.c generated by valac 0.24.0.38-0a8fb, the Vala compiler
2
2
 * generated from utils.vala, do not modify */
3
3
 
4
4
/*
312
312
                _tmp1_ = g_resources_lookup_data (_tmp0_, 0, &_inner_error_);
313
313
                bytes = _tmp1_;
314
314
                if (_inner_error_ != NULL) {
315
 
                        goto __catch69_g_error;
 
315
                        goto __catch70_g_error;
316
316
                }
317
317
                _tmp3_ = g_bytes_get_data (bytes, &_tmp2_);
318
318
                result = (const gchar*) _tmp3_;
319
319
                _g_bytes_unref0 (bytes);
320
320
                return result;
321
321
        }
322
 
        goto __finally69;
323
 
        __catch69_g_error:
 
322
        goto __finally70;
 
323
        __catch70_g_error:
324
324
        {
325
325
                GError* e = NULL;
326
326
                const gchar* _tmp4_ = NULL;
336
336
                _g_error_free0 (e);
337
337
                return result;
338
338
        }
339
 
        __finally69:
 
339
        __finally70:
340
340
        g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
341
341
        g_clear_error (&_inner_error_);
342
342
        return NULL;
468
468
                _tmp1_ = g_file_find_enclosing_mount (_tmp0_, NULL, &_inner_error_);
469
469
                mount = _tmp1_;
470
470
                if (_inner_error_ != NULL) {
471
 
                        goto __catch70_g_error;
 
471
                        goto __catch71_g_error;
472
472
                }
473
473
                _tmp2_ = mount;
474
474
                _tmp3_ = g_mount_get_name (_tmp2_);
515
515
                _g_object_unref0 (mount);
516
516
                return result;
517
517
        }
518
 
        goto __finally70;
519
 
        __catch70_g_error:
 
518
        goto __finally71;
 
519
        __catch71_g_error:
520
520
        {
521
521
                GError* e = NULL;
522
522
                gchar* _tmp19_ = NULL;
542
542
                _g_error_free0 (e);
543
543
                return result;
544
544
        }
545
 
        __finally70:
 
545
        __finally71:
546
546
        g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
547
547
        g_clear_error (&_inner_error_);
548
548
        return NULL;
681
681
                _tmp2_ = file;
682
682
                g_file_delete (_tmp2_, NULL, &_inner_error_);
683
683
                if (_inner_error_ != NULL) {
684
 
                        goto __catch71_g_error;
 
684
                        goto __catch72_g_error;
685
685
                }
686
686
        }
687
 
        goto __finally71;
688
 
        __catch71_g_error:
 
687
        goto __finally72;
 
688
        __catch72_g_error:
689
689
        {
690
690
                GError* e = NULL;
691
691
                GFile* _tmp3_ = NULL;
704
704
                _g_free0 (_tmp5_);
705
705
                _g_error_free0 (e);
706
706
        }
707
 
        __finally71:
 
707
        __finally72:
708
708
        if (_inner_error_ != NULL) {
709
709
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
710
710
                g_clear_error (&_inner_error_);
745
745
                _tmp6_ = parent;
746
746
                g_file_make_directory_with_parents (_tmp6_, NULL, &_inner_error_);
747
747
                if (_inner_error_ != NULL) {
748
 
                        goto __catch72_g_error;
 
748
                        goto __catch73_g_error;
749
749
                }
750
750
        }
751
 
        goto __finally72;
752
 
        __catch72_g_error:
 
751
        goto __finally73;
 
752
        __catch73_g_error:
753
753
        {
754
754
                GError* e = NULL;
755
755
                GFile* _tmp7_ = NULL;
772
772
                _g_object_unref0 (parent);
773
773
                return result;
774
774
        }
775
 
        __finally72:
 
775
        __finally73:
776
776
        if (_inner_error_ != NULL) {
777
777
                _g_object_unref0 (parent);
778
778
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
846
846
                _tmp6_ = make_backup;
847
847
                g_file_replace_contents (_tmp2_, _tmp5_, (gsize) _tmp5__length1, NULL, _tmp6_, G_FILE_CREATE_NONE, NULL, NULL, &_inner_error_);
848
848
                if (_inner_error_ != NULL) {
849
 
                        goto __catch73_g_error;
 
849
                        goto __catch74_g_error;
850
850
                }
851
851
        }
852
 
        goto __finally73;
853
 
        __catch73_g_error:
 
852
        goto __finally74;
 
853
        __catch74_g_error:
854
854
        {
855
855
                GError* e = NULL;
856
856
                GFile* _tmp7_ = NULL;
871
871
                _g_error_free0 (e);
872
872
                return result;
873
873
        }
874
 
        __finally73:
 
874
        __finally74:
875
875
        if (_inner_error_ != NULL) {
876
876
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
877
877
                g_clear_error (&_inner_error_);
903
903
                _chars_size_ = chars_length1;
904
904
                if (_inner_error_ != NULL) {
905
905
                        chars = (g_free (chars), NULL);
906
 
                        goto __catch74_g_error;
 
906
                        goto __catch75_g_error;
907
907
                }
908
908
                _tmp3_ = chars;
909
909
                _tmp3__length1 = chars_length1;
913
913
                chars = (g_free (chars), NULL);
914
914
                return result;
915
915
        }
916
 
        goto __finally74;
917
 
        __catch74_g_error:
 
916
        goto __finally75;
 
917
        __catch75_g_error:
918
918
        {
919
919
                GError* e = NULL;
920
920
                GFile* _tmp4_ = NULL;
935
935
                _g_error_free0 (e);
936
936
                return result;
937
937
        }
938
 
        __finally74:
 
938
        __finally75:
939
939
        g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
940
940
        g_clear_error (&_inner_error_);
941
941
        return NULL;
1349
1349
                _tmp4_ = g_file_query_default_handler (_tmp3_, NULL, &_inner_error_);
1350
1350
                _tmp2_ = _tmp4_;
1351
1351
                if (_inner_error_ != NULL) {
1352
 
                        goto __catch75_g_error;
 
1352
                        goto __catch76_g_error;
1353
1353
                }
1354
1354
                _tmp5_ = _tmp2_;
1355
1355
                _tmp2_ = NULL;
1357
1357
                app = _tmp5_;
1358
1358
                _g_object_unref0 (_tmp2_);
1359
1359
        }
1360
 
        goto __finally75;
1361
 
        __catch75_g_error:
 
1360
        goto __finally76;
 
1361
        __catch76_g_error:
1362
1362
        {
1363
1363
                GError* e = NULL;
1364
1364
                GError* _tmp6_ = NULL;
1375
1375
                _g_object_unref0 (file);
1376
1376
                return result;
1377
1377
        }
1378
 
        __finally75:
 
1378
        __finally76:
1379
1379
        if (_inner_error_ != NULL) {
1380
1380
                _g_object_unref0 (app);
1381
1381
                _g_object_unref0 (file);