added missing cast.

2007-03-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpstrokeeditor.c: added missing cast.


svn path=/trunk/; revision=22048
This commit is contained in:
Sven Neumann 2007-03-05 20:28:31 +00:00 committed by Sven Neumann
parent e6fb62d4ac
commit 7044701112
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-03-05 Sven Neumann <sven@gimp.org>
* app/widgets/gimpstrokeeditor.c: added missing cast.
2007-03-05 Michael Natterer <mitch@gimp.org>
Makes default Select -> Border behaviour consistent, and makes

View File

@ -113,8 +113,9 @@ gimp_stroke_editor_set_property (GObject *object,
case PROP_OPTIONS:
if (editor->options)
g_object_unref (editor->options);
editor->options = g_value_dup_object (value);
editor->options = GIMP_STROKE_OPTIONS (g_value_dup_object (value));
break;
case PROP_RESOLUTION:
editor->resolution = g_value_get_double (value);
break;
@ -138,6 +139,7 @@ gimp_stroke_editor_get_property (GObject *object,
case PROP_OPTIONS:
g_value_set_object (value, editor->options);
break;
case PROP_RESOLUTION:
g_value_set_double (value, editor->resolution);
break;