2000-06-03  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimpproceduraldb.c (gimp_procedural_db_get_data): a bad
	hack to map the autogenerated code to the old api.
This commit is contained in:
Michael Natterer
2000-06-03 02:04:33 +00:00
committed by Michael Natterer
parent 661f0a5acd
commit ffc162c03a
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2000-06-03 Michael Natterer <mitch@gimp.org>
Sven Neumann <sven@gimp.org>
* libgimp/gimpproceduraldb.c (gimp_procedural_db_get_data): a bad
hack to map the autogenerated code to the old api.
2000-06-02 Asbjorn Pettersen <asbjornP@dualog.no>
* modules/gimpmodregister.c: Use gimpmodregister.h. OS/2 ver.

View File

@ -90,11 +90,18 @@ void
gimp_procedural_db_get_data (gchar *identifier,
gpointer data)
{
gint size;
gint size;
gpointer hack;
_gimp_procedural_db_get_data (identifier,
&size,
data);
&hack);
if (hack)
{
memcpy (data, hack, size * sizeof (guint8));
g_free (hack);
}
}
void