Commit 30f63851 authored by Michael Natterer's avatar Michael Natterer 😴

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

parent ad83b656
......@@ -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)
{
......
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment