From 89b6b731b631ddac1b6480e77c47987ba74aeccc Mon Sep 17 00:00:00 2001
From: Robert Roebling <robert@roebling.de>
Date: Wed, 8 Sep 2010 20:00:44 +0000
Subject: [PATCH] Unregister configure callback,part of #12447: wxGTK patch:
 Segfault on Drag&Drop

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/gtk/dnd.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gtk/dnd.cpp b/src/gtk/dnd.cpp
index 0ce223efb4..3662f99b2f 100644
--- a/src/gtk/dnd.cpp
+++ b/src/gtk/dnd.cpp
@@ -857,6 +857,9 @@ wxDragResult wxDropSource::DoDragDrop(int flags)
     while (m_waiting)
         gtk_main_iteration();
 
+    g_signal_handlers_disconnect_by_func (m_iconWindow,
+                                          (gpointer) gtk_dnd_window_configure_callback, this);
+
     return m_retValue;
 }
 
-- 
2.47.2