[gtk+/wip/baedert/gtkimageview: 116/118] imageview: Remove set_scale again



commit 33191f15d846058d09fe7437cfe641d689203d83
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 fac0a21..24299c5 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]