~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
     gint             *nreturn_vals,
172
172
     GimpParam       **return_vals)
173
173
{
174
 
  static GimpParam   values[1];
 
174
  static GimpParam   values[2];
175
175
  GimpRunMode        run_mode;
176
176
  GimpDrawable      *drawable;
177
177
  GimpPDBStatusType  status = GIMP_PDB_SUCCESS;
238
238
        }
239
239
      else
240
240
        {
241
 
          g_message (_("Cannot operate on indexed color images."));
242
 
          status = GIMP_PDB_EXECUTION_ERROR;
 
241
          status        = GIMP_PDB_EXECUTION_ERROR;
 
242
          *nreturn_vals = 2;
 
243
          values[1].type          = GIMP_PDB_STRING;
 
244
          values[1].data.d_string = _("Cannot operate on indexed color images.");
243
245
        }
244
246
    }
245
247