[gimp/metadata-browser] app: add gimp_get_paint_info_iter(), I need it later for PDB context fixing
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: add gimp_get_paint_info_iter(), I need it later for PDB context fixing
- Date: Wed, 12 Sep 2012 22:10:43 +0000 (UTC)
commit 81b3f444bcaeba9d5a72a0832f3eaa913236b5a8
Author: Michael Natterer <mitch gimp org>
Date: Sat Oct 29 19:37:58 2011 +0200
app: add gimp_get_paint_info_iter(), I need it later for PDB context fixing
app/core/gimp.c | 8 ++++++++
app/core/gimp.h | 1 +
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimp.c b/app/core/gimp.c
index f703381..68763c1 100644
--- a/app/core/gimp.c
+++ b/app/core/gimp.c
@@ -1076,6 +1076,14 @@ gimp_get_image_windows (Gimp *gimp)
}
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)
{
g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL);
diff --git a/app/core/gimp.h b/app/core/gimp.h
index 86c160c..6bf7c06 100644
--- a/app/core/gimp.h
+++ b/app/core/gimp.h
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]