[gtk+/wip/baedert/gtkimageview: 123/135] imageview: Remove set_scale again



commit 2499d6bfb406a10c1e71a5be1fe6c0de7de16f7d
Author: Timm Bäder <mail baedert org>
Date:   Fri Mar 25 08:30:02 2016 +0100

    imageview: Remove set_scale again

 gtk/gtkimageview.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkimageview.c b/gtk/gtkimageview.c
index a0289c6..4351760 100644
--- a/gtk/gtkimageview.c
+++ b/gtk/gtkimageview.c
@@ -1140,8 +1140,8 @@ gtk_image_view_set_vadjustment (GtkImageView  *image_view,
 
   if (vadjustment)
     {
-      g_signal_connect ((GObject *)vadjustment, "value-changed",
-                        (GCallback) adjustment_value_changed_cb, image_view);
+      g_signal_connect (G_OBJECT (vadjustment), "value-changed",
+                        G_CALLBACK (adjustment_value_changed_cb), image_view);
       priv->vadjustment = g_object_ref_sink (vadjustment);
     }
   else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]