mirror of https://github.com/GNOME/gimp.git
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:
parent
e6fb62d4ac
commit
7044701112
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue