gimp r24765 - in branches/gimp-2-4: . plug-ins/print
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24765 - in branches/gimp-2-4: . plug-ins/print
- Date: Thu, 31 Jan 2008 21:34:27 +0000 (GMT)
Author: neo
Date: Thu Jan 31 21:34:27 2008
New Revision: 24765
URL: http://svn.gnome.org/viewvc/gimp?rev=24765&view=rev
Log:
2008-01-31 Sven Neumann <sven gimp org>
* plug-ins/print/print.c (run): don't access param[2], we only
accept two parameters.
Modified:
branches/gimp-2-4/ChangeLog
branches/gimp-2-4/plug-ins/print/print.c
Modified: branches/gimp-2-4/plug-ins/print/print.c
==============================================================================
--- branches/gimp-2-4/plug-ins/print/print.c (original)
+++ branches/gimp-2-4/plug-ins/print/print.c Thu Jan 31 21:34:27 2008
@@ -114,7 +114,6 @@
GimpRunMode run_mode;
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
gint32 image_ID;
- gint32 drawable_ID;
run_mode = param[0].data.d_int32;
@@ -126,8 +125,7 @@
values[0].type = GIMP_PDB_STATUS;
values[0].data.d_status = GIMP_PDB_EXECUTION_ERROR;
- image_ID = param[1].data.d_int32;
- drawable_ID = param[2].data.d_int32;
+ image_ID = param[1].data.d_int32;
if (strcmp (name, PRINT_PROC_NAME) == 0)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]