[gnome-photos/wip/rishi/imageview: 6/7] image-view: foo
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/imageview: 6/7] image-view: foo
- Date: Wed, 3 Feb 2016 13:41:00 +0000 (UTC)
commit e736d04404dbfacee2d9f8549c83e02e0381b3c6
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Feb 3 14:37:06 2016 +0100
image-view: foo
src/photos-image-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-image-view.c b/src/photos-image-view.c
index fdff929..5515ba1 100644
--- a/src/photos-image-view.c
+++ b/src/photos-image-view.c
@@ -435,8 +435,12 @@ photos_image_view_set_node (PhotosImageView *self, GeglNode *node)
if (node != NULL)
{
+ GeglRectangle bbox;
+
g_object_ref (node);
g_signal_connect_object (node, "computed", G_CALLBACK (photos_image_view_computed), self,
G_CONNECT_SWAPPED);
+ bbox = gegl_node_get_bounding_box (node);
+ g_message ("photos_image_view_set_node: %d %d %d %d", bbox.x, bbox.y, bbox.width, bbox.height);
}
self->node = node;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]