Sven Neumann <sven@gimp.org>
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:

committed by
Michael Natterer

parent
661f0a5acd
commit
ffc162c03a
@ -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.
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user