documentation.

2007-08-15  Sven Neumann  <sven@gimp.org>

        * libgimpwidgets/gimpcolorprofilestore.c: documentation.


svn path=/trunk/; revision=23263
This commit is contained in:
Sven Neumann
2007-08-15 06:55:33 +00:00
committed by Sven Neumann
parent e05f208e62
commit 4e5a0169e8
2 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-08-15 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolorprofilestore.c: documentation.
2007-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/Makefile.am

View File

@ -220,9 +220,19 @@ gimp_color_profile_store_get_property (GObject *object,
/**
* gimp_color_profile_store_new:
* @history:
* @history: filename of the profilerc (or %NULL for no history)
*
* Return value: a new #GimpColorProfileStore.
* Creates a new #GimpColorProfileStore object and populates it with
* last used profiles read from the file @history. The updated history
* is written back to disk when the store is disposed.
*
* The filename passed as @history is typically created using the
* following code snippet:
* <informalexample><programlisting>
* gchar *history = gimp_personal_rc_file ("profilerc");
* </programlisting></informalexample>
*
* Return value: a new #GimpColorProfileStore
*
* Since: GIMP 2.4
**/
@ -240,6 +250,15 @@ gimp_color_profile_store_new (const gchar *history)
* @filename:
* @label:
*
* Adds an item to the #GimpColorProfileStore. Items added with this
* function will be kept at the top, separated from the history of last
* used items.
*
* This function is often used to add a selectable item for the %NULL
* filename. If you pass %NULL for both @filename and @label, the
* @label will be set to the string "None" for you (and translated for
* the user).
*
* Since: GIMP 2.4
**/
void