[eog/wip/baedert/gtkimageview: 63/75] eog-scroll-view: Remove image changed handler
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/wip/baedert/gtkimageview: 63/75] eog-scroll-view: Remove image changed handler
- Date: Sat, 19 Mar 2016 17:09:59 +0000 (UTC)
commit 21e3c61265c2e7a72e4ae6de176bda53d67551e5
Author: Timm Bäder <mail baedert org>
Date: Sat Mar 19 10:36:55 2016 +0100
eog-scroll-view: Remove image changed handler
Redrawing should be done by the GtkImageView already.
src/eog-scroll-view.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index 4be2bea..4b3b109 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -1176,17 +1176,6 @@ rotate_gesture_angle_changed_cb (GtkGestureRotate *rotate,
priv->rotate_state = rotate_state;
}
-/*==================================
-
- image loading callbacks
-
- -----------------------------------*/
-static void
-image_changed_cb (EogImage *img, gpointer data)
-{
- gtk_widget_queue_draw (GTK_WIDGET (data));
-}
-
/*===================================
public API
---------------------------------*/
@@ -1456,9 +1445,6 @@ eog_scroll_view_set_image (EogScrollView *view, EogImage *image)
if (image != NULL) {
eog_image_data_ref (image);
-
- priv->image_changed_id = g_signal_connect (image, "changed",
- (GCallback) image_changed_cb, view);
}
priv->image = image;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]