--- gimp-2.10.32.old/libgimp/gimpmenu.h +++ gimp-2.10.32/libgimp/gimpmenu.h @@ -31,15 +31,14 @@ G_BEGIN_DECLS -#ifndef GIMP_DISABLE_DEPRECATED - typedef gboolean (* GimpConstraintFunc) (gint32 image_id, gint32 drawable_id, gpointer data); + +#ifndef GIMP_DISABLE_DEPRECATED typedef void (* GimpMenuCallback) (gint32 any_id, gpointer data); - GIMP_DEPRECATED_FOR(gimp_image_combo_box_new) GtkWidget * gimp_image_menu_new (GimpConstraintFunc constraint, GimpMenuCallback callback,