[gtk+] gdkdnd: Make GtkDragContext::cancel RUN_LAST



commit 4636552a76e3935621b79367dc329a896a0d981a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Feb 15 17:05:50 2016 +0100

    gdkdnd: Make GtkDragContext::cancel RUN_LAST
    
    The default implementation code should act as a catch-all fallback,
    we let the connected handlers to run first then.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761954

 gdk/gdkdnd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 150bb3c..b76b110 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -285,7 +285,7 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
   signals[CANCEL] =
     g_signal_new ("cancel",
                   G_TYPE_FROM_CLASS (object_class),
-                  G_SIGNAL_RUN_FIRST,
+                  G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (GdkDragContextClass, cancel),
                   NULL, NULL,
                   g_cclosure_marshal_VOID__ENUM,


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