diff --git a/ChangeLog b/ChangeLog index 270cc29a11..09deedd132 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2000-09-23 Kevin Turner + + * plug-ins/pygimp/gimpmodule.c (newpfobject): use correct type for + enums + + * plug-ins/pygimp/plug-ins/gtkcons.py (Console.run): set _ after + evaluating a statement, so _ may be used as it is in the python + interpreter. + Sat Sep 23 14:44:35 PDT 2000 Manish Singh * Made 1.1.26 release (1.2pre) diff --git a/plug-ins/pygimp/ChangeLog b/plug-ins/pygimp/ChangeLog index 1d6d998524..cf5c534475 100644 --- a/plug-ins/pygimp/ChangeLog +++ b/plug-ins/pygimp/ChangeLog @@ -1,3 +1,10 @@ +2000-09-23 Kevin Turner + + * gimpmodule.c (newpfobject): use correct type for enums + + * plug-ins/gtkcons.py (Console.run): set _ after evaluating a + statement, so _ may be used as it is in the python interpreter. + 2000-09-20 Kevin Turner * plug-ins/pdbbrowse.py (pars): Oops. When we did diff --git a/plug-ins/pygimp/gimpmodule.c b/plug-ins/pygimp/gimpmodule.c index ecbc15ec4b..3e2624a807 100644 --- a/plug-ins/pygimp/gimpmodule.c +++ b/plug-ins/pygimp/gimpmodule.c @@ -901,7 +901,8 @@ newpfobject(name) { pfobject *self; char *b,*h,*a,*c,*d; - int pt, np, nr, i; + int np, nr, i; + GimpPDBProcType pt; GimpParamDef *p, *r; if (!gimp_procedural_db_proc_info (name, &b, &h, &a, &c, &d, &pt, @@ -3678,8 +3679,9 @@ static void pygimp_run_proc(char *name, int nparams, GimpParam *params, int *nreturn_vals, GimpParam **return_vals) { PyObject *args, *ret; GimpParamDef *pd, *rv; + GimpPDBProcType t; char *b, *h, *a, *c, *d; - int t, np, nrv; + int np, nrv; gimp_procedural_db_proc_info(name, &b, &h, &a, &c, &d, &t, &np, &nrv, &pd, &rv); diff --git a/plug-ins/pygimp/plug-ins/gtkcons.py b/plug-ins/pygimp/plug-ins/gtkcons.py index b00a5a5621..ea474132b9 100755 --- a/plug-ins/pygimp/plug-ins/gtkcons.py +++ b/plug-ins/pygimp/plug-ins/gtkcons.py @@ -285,6 +285,7 @@ class Console(GtkVBox): try: try: r = eval(cmd, self.namespace, self.namespace) + self.namespace['_'] = r if r is not None: print `r` except SyntaxError: