[gtk+] Fix save_hot_y init in gtk_drag_get_icon()



commit 9f51d8948fe0aef65e266ed06a6dc58807c43123
Author: Maks Naumov <maksqwe1 ukr net>
Date:   Sun Jan 11 15:20:48 2015 -0800

    Fix save_hot_y init in gtk_drag_get_icon()
    
    Signed-off-by: Maks Naumov <maksqwe1 ukr net>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=742786

 gtk/gtkdnd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 3f16f94..544fd80 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -3014,7 +3014,7 @@ gtk_drag_get_icon (GtkDragSourceInfo  *info,
            */
           save_icon_window = info->icon_window;
           save_hot_x = info->hot_x;
-          save_hot_y = info->hot_x;
+          save_hot_y = info->hot_y;
           save_destroy_icon = info->destroy_icon;
 
           info->icon_window = NULL;


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