Commit 74937421 authored by Kevin Turner's avatar Kevin Turner
Browse files

Oops. When we did s/PARAM_/PDB_/, we forgot to do s/6/4/ (the length of

* plug-ins/pdbbrowse.py (pars): Oops.  When we did
s/PARAM_/PDB_/, we forgot to do s/6/4/ (the length
of the prefix changed).

* gimpmodule.c: Filter this through remove_cruft,
finishing the libgimp renaming (and further ensuring
that it won't work with older libgimps).
parent 7a2bd216
2000-09-20 Kevin Turner <acapnotic@users.sourceforge.net>
* plug-ins/pdbbrowse.py (pars): Oops. When we did
s/PARAM_/PDB_/, we forgot to do s/6/4/ (the length
of the prefix changed).
* gimpmodule.c: Filter this through remove_cruft,
finishing the libgimp renaming (and further ensuring
that it won't work with older libgimps).
2000-08-10 Kevin Turner <acapnotic@users.sourceforge.net>
* gimpenums.py: This file now autogenerated by
tools/pdbgen/enumcode.pl
tools/pdbgen/enumcode-py.pl
* gimpfu.py:
* gimpmodule.c: renaming fixes for libgimp 1.2
......
......@@ -21,7 +21,7 @@
# gimp plugins. Just add 'from gimpenums import *' to the top
# of the script
# NOTE: This file is autogenerated by enumcode.pl.
# NOTE: This file is autogenerated by enumcode-py.pl.
TRUE = 1
FALSE = 0
......
This diff is collapsed.
......@@ -22,10 +22,10 @@ import gimpenums
import gtk
import string
pars = filter(lambda x: x[:6] == 'PDB_', dir(gimpenums))
pars = filter(lambda x: x[:4] == 'PDB_', dir(gimpenums))
partypes = [''] * len(pars)
for i in pars:
partypes[gimpenums.__dict__[i]] = i[6:]
partypes[gimpenums.__dict__[i]] = i[4:]
del pars, i
class BrowseWin(gtk.GtkWindow):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment