[gnome-photos/wip/baedert/gtkimageview: 36/39] image-view: return the correct values for x/y
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/baedert/gtkimageview: 36/39] image-view: return the correct values for x/y
- Date: Sat, 28 May 2016 11:16:12 +0000 (UTC)
commit d3f03c8c69fdd67bfc70dda3aa6091641de513b3
Author: Timm Bäder <mail baedert org>
Date: Sat Apr 16 16:04:59 2016 +0200
image-view: return the correct values for x/y
src/photos-image-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-image-view.c b/src/photos-image-view.c
index 1ef0081..2fb6701 100644
--- a/src/photos-image-view.c
+++ b/src/photos-image-view.c
@@ -111,11 +111,11 @@ photos_image_view_get_property (GObject *object, guint prop_id, GValue *value, G
break;
case PROP_X:
- g_value_set_double (value, 0);
+ g_value_set_double (value, photos_image_view_get_x (PHOTOS_IMAGE_VIEW (self)));
break;
case PROP_Y:
- g_value_set_double (value, 0);
+ g_value_set_double (value, photos_image_view_get_y (PHOTOS_IMAGE_VIEW (self)));
break;
case PROP_ZOOM:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]