Commit aeaf778f authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

corrected API docs.

2007-01-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpratioentry.c: corrected API docs.


svn path=/trunk/; revision=21622
parent d132d142
2007-01-02 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpratioentry.c: corrected API docs.
2006-12-31 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Don't include malloc.h
......
......@@ -191,7 +191,6 @@ gimp_ratio_entry_new (void)
* gimp_ratio_entry_set_ratio:
* @entry: a #GimpRatioEntry widget
* @ratio: ratio to set in the widget
* @calc_fraction: convert into a fraction?
*
* Sets the ratio displayed by a #GimpRatioEntry. If the new ratio is
* different than the previous ratio, the "ratio-changed" signal is
......@@ -251,6 +250,8 @@ gimp_ratio_entry_set_ratio (GimpRatioEntry *entry,
*
* Retrieves the ratio value displayed by a #GimpRatioEntry.
*
* Returns: The ratio value.
*
* Since: GIMP 2.4
**/
gdouble
......@@ -281,6 +282,7 @@ gimp_ratio_entry_set_fraction (GimpRatioEntry *entry,
const gdouble denominator)
{
gdouble old_ratio;
g_return_if_fail (GIMP_IS_RATIO_ENTRY (entry));
old_ratio = entry->numerator / entry->denominator;
......
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