~ubuntu-branches/ubuntu/raring/geany/raring-proposed

« back to all changes in this revision

Viewing changes to tagmanager/tm_project.c

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2011-12-10 07:43:26 UTC
  • mfrom: (3.3.7 sid)
  • Revision ID: package-import@ubuntu.com-20111210074326-s8yqbew5i20h33tf
Tags: 0.21-1ubuntu1
* Merge from Debian Unstable, remaining changes:
  - debian/patches/20_use_evince_viewer.patch:
     + use evince as viewer for pdf and dvi files
  - debian/patches/20_use_x_terminal_emulator.patch:
     + use x-terminal-emulator as terminal
  - debian/control
     + Add breaks on geany-plugins-common << 0.20
* Also fixes bugs:
  - Filter for MATLAB/Octave files filters everythign (LP: 885505)

Show diffs side-by-side

added added

removed removed

Lines of Context:
396
396
#endif
397
397
                                if (!force)
398
398
                                {
399
 
                                        tm_tag_free(tag);
 
399
                                        tm_tag_unref(tag);
400
400
                                        fclose(fp);
401
401
                                        return FALSE;
402
402
                                }
412
412
                                        project->file_list = g_ptr_array_new();
413
413
                                g_ptr_array_add(project->file_list, source_file);
414
414
                        }
415
 
                        tm_tag_free(tag);
 
415
                        tm_tag_unref(tag);
416
416
                }
417
417
                else
418
418
                {
421
421
#ifdef TM_DEBUG
422
422
                                g_warning("Dangling tag %s", tag->name);
423
423
#endif
424
 
                                tm_tag_free(tag);
 
424
                                tm_tag_unref(tag);
425
425
                                if (!force)
426
426
                                {
427
427
                                        fclose(fp);