~ubuntu-branches/debian/jessie/file-roller/jessie

« back to all changes in this revision

Viewing changes to src/fr-archive.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-03-09 19:32:38 UTC
  • mfrom: (1.6.86)
  • Revision ID: package-import@ubuntu.com-20120309193238-dzn4p0szzcambb5v
Tags: 3.3.91-1
* New upstream release.
* Refresh 99_ltmain_as-needed.patch with newer copy in dh-autoreconf.
* Update to Standards-Version 3.9.3, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
532
532
        static magic_t magic = NULL;
533
533
 
534
534
        if (! magic) {
535
 
                magic = magic_open (MAGIC_MIME);
 
535
                magic = magic_open (MAGIC_MIME_TYPE);
536
536
                if (magic)
537
537
                        magic_load (magic, NULL);
538
538
                else
1258
1258
 
1259
1259
        if (! g_file_query_exists (archive->file, NULL)) {
1260
1260
                GError *error;
1261
 
                error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("The file doesn't exist"));
 
1261
                error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("Archive not found"));
1262
1262
                fr_archive_copy_done (archive, FR_ACTION_LOADING_ARCHIVE, error);
1263
1263
                g_error_free (error);
1264
1264
                return;