app: add gimp_get_paint_info_iter(), I need it later for PDB context fixing

This commit is contained in:
Michael Natterer 2011-10-29 19:37:58 +02:00
parent ad83b656a7
commit 30f638516e
2 changed files with 9 additions and 0 deletions

View file

@ -1075,6 +1075,14 @@ gimp_get_image_windows (Gimp *gimp)
return g_list_copy (gimp->image_windows);
}
GList *
gimp_get_paint_info_iter (Gimp *gimp)
{
g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL);
return GIMP_LIST (gimp->paint_info_list)->list;
}
GList *
gimp_get_tool_info_iter (Gimp *gimp)
{

View file

@ -171,6 +171,7 @@ void gimp_exit (Gimp *gimp,
GList * gimp_get_image_iter (Gimp *gimp);
GList * gimp_get_display_iter (Gimp *gimp);
GList * gimp_get_image_windows (Gimp *gimp);
GList * gimp_get_paint_info_iter (Gimp *gimp);
GList * gimp_get_tool_info_iter (Gimp *gimp);
void gimp_set_global_buffer (Gimp *gimp,