~ubuntu-branches/ubuntu/gutsy/gimp/gutsy

« back to all changes in this revision

Viewing changes to plug-ins/common/cartoon.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-09-30 18:06:49 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070930180649-f647f0cxj32tgyn3
Tags: 2.4.0~rc3-1ubuntu1
* Resynchronized with Debian.
* Remaining Ubuntu changes:
  - 02_help-message.patch, 03_gimp.desktop.in.in.patch: Distro changes.
  - Weave i18n magic in the rules file.
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - 10_dont_show_wizard.patch: Unused, upstream doesn't call it anymore.
  - Use dh_icons.
* Disabled the print plugin, and removed the Conflicts/Replaces on
  gimp-print.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
  gdouble  mask_radius;
45
45
  gdouble  threshold;
46
46
  gdouble  pct_black;
47
 
  gboolean update_preview;
48
47
} CartoonVals;
49
48
 
50
49
 
100
99
{
101
100
  7.0,  /* mask_radius */
102
101
  1.0,  /* threshold */
103
 
  0.2,  /* pct_black */
104
 
  TRUE  /* update_preview */
 
102
  0.2   /* pct_black */
105
103
};
106
104
 
107
105
 
829
827
  gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), main_vbox);
830
828
  gtk_widget_show (main_vbox);
831
829
 
832
 
  preview = gimp_drawable_preview_new (drawable, &cvals.update_preview);
 
830
  preview = gimp_drawable_preview_new (drawable, NULL);
833
831
  gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
834
832
  gtk_widget_show (preview);
835
833