[gnome-shell] scroll-view-fade: Fix [vh]fade_offset property getters
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] scroll-view-fade: Fix [vh]fade_offset property getters
- Date: Mon, 18 Feb 2013 21:45:00 +0000 (UTC)
commit 5d275389afc03d9f76f13109da8c2596adc1806f
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Feb 18 22:16:28 2013 +0100
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
src/st/st-scroll-view-fade.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/st/st-scroll-view-fade.c b/src/st/st-scroll-view-fade.c
index 1a9ff1d..e43a5e7 100644
--- a/src/st/st-scroll-view-fade.c
+++ b/src/st/st-scroll-view-fade.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]