~ubuntu-branches/ubuntu/trusty/gimp/trusty

« back to all changes in this revision

Viewing changes to plug-ins/common/file-svg.c

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2009-08-14 09:57:17 UTC
  • mto: (1.1.21 upstream) (0.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20090814095717-37dh2xqy5t0rurpk
ImportĀ upstreamĀ versionĀ 2.6.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
650
650
  if (!load_rsvg_size (filename, &vals, NULL))
651
651
    return;
652
652
 
 
653
  g_signal_handlers_block_by_func (size, load_dialog_size_callback, NULL);
 
654
 
 
655
  gimp_size_entry_set_resolution (size, 0, load_vals.resolution, FALSE);
 
656
  gimp_size_entry_set_resolution (size, 1, load_vals.resolution, FALSE);
 
657
 
 
658
  g_signal_handlers_unblock_by_func (size, load_dialog_size_callback, NULL);
 
659
 
 
660
  if (gimp_size_entry_get_unit (size) != GIMP_UNIT_PIXEL)
 
661
    {
 
662
      ratio_x = gimp_size_entry_get_refval (size, 0) / vals.width;
 
663
      ratio_y = gimp_size_entry_get_refval (size, 1) / vals.height;
 
664
    }
 
665
 
653
666
  svg_width  = vals.width;
654
667
  svg_height = vals.height;
655
668