scroll-view-fade: Fix [vh]fade_offset property getters

The two were mixed up all along, and nobody noticed ...

https://bugzilla.gnome.org/show_bug.cgi?id=694125
This commit is contained in:
Florian Müllner 2013-02-18 22:16:28 +01:00
parent 75589b4450
commit 5d275389af

View File

@ -423,10 +423,10 @@ st_scroll_view_fade_get_property (GObject *object,
switch (prop_id)
{
case PROP_HFADE_OFFSET:
g_value_set_float (value, self->vfade_offset);
g_value_set_float (value, self->hfade_offset);
break;
case PROP_VFADE_OFFSET:
g_value_set_float (value, self->hfade_offset);
g_value_set_float (value, self->vfade_offset);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);