corrected initialisation of structure, promises to fix #9212.

--Sven
This commit is contained in:
Sven Neumann 2000-04-27 13:11:37 +00:00
parent 7309831610
commit 8591b1ec3a
2 changed files with 7 additions and 10 deletions

View file

@ -1,3 +1,9 @@
2000-04-27 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_object.c: on request of plug-in author
<maurits.rijk@philips.com>, corrected initialisation of structure.
Promises to fix bug #9212.
2000-04-26 Michael Natterer <mitch@gimp.org>
* app/gdisplay.[ch]

View file

@ -484,16 +484,7 @@ object_on_button_press(GtkWidget *widget, GdkEventButton *event, gpointer data)
ObjectList_t*
make_object_list(void)
{
ObjectList_t *list = g_new(ObjectList_t, 1);
list->list = NULL;
list->changed = FALSE;
list->changed_cb.list = NULL;
list->update_cb.list = NULL;
list->add_cb.list = NULL;
list->remove_cb.list = NULL;
list->select_cb.list = NULL;
list->move_cb.list = NULL;
return list;
return g_new0 (ObjectList_t, 1);
}
void