mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
libgimp: nicer API for functions returning a list.
I.e.: gimp_image_get_(layers|channels|vectors)(), gimp_image_list() and gimp_item_get_children(). Instead of returning an array of IDs, these will now return a GList with the right objects ready to use.
This commit is contained in:
parent
c409829be5
commit
75f8a3804d
14 changed files with 522 additions and 420 deletions
|
@ -58,7 +58,7 @@ GType gimp_vectors_combo_box_get_type (void) G_GNUC_CONST;
|
|||
#ifndef GIMP_DEPRECATED_REPLACE_NEW_API
|
||||
|
||||
typedef gboolean (* GimpItemConstraintFunc) (GimpImage *image,
|
||||
gint32 item_id,
|
||||
GimpItem *item,
|
||||
gpointer data);
|
||||
|
||||
GtkWidget * gimp_drawable_combo_box_new (GimpItemConstraintFunc constraint,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue