[Pkg-xfce-commits] r3917 - in desktop/trunk/thunar/debian: . patches

Lionel Le Folgoc mrpouit-guest at alioth.debian.org
Sun Mar 28 01:57:31 UTC 2010


Author: mrpouit-guest
Date: 2010-03-28 13:57:27 +0000 (Sun, 28 Mar 2010)
New Revision: 3917

Added:
   desktop/trunk/thunar/debian/patches/05_fix-crash-drag-gdk-none.patch
Modified:
   desktop/trunk/thunar/debian/changelog
Log:
debian/patches/05_fix-crash-drag-gdk-none.patch: backport patch from
upstream git to fix crash when dragging non-file data over a window
(thanks Daniel Gibson for the hint).                        closes: #575665

Modified: desktop/trunk/thunar/debian/changelog
===================================================================
--- desktop/trunk/thunar/debian/changelog	2010-03-27 22:23:47 UTC (rev 3916)
+++ desktop/trunk/thunar/debian/changelog	2010-03-28 13:57:27 UTC (rev 3917)
@@ -1,3 +1,11 @@
+thunar (1.0.1-4) UNRELEASED; urgency=low
+
+  * debian/patches/05_fix-crash-drag-gdk-none.patch: backport patch from
+    upstream git to fix crash when dragging non-file data over a window
+    (thanks Daniel Gibson for the hint).                        closes: #575665
+
+ -- Lionel Le Folgoc <mrpouit at gmail.com>  Sun, 28 Mar 2010 15:44:01 +0200
+
 thunar (1.0.1-3) unstable; urgency=low
 
   * debian/control:

Added: desktop/trunk/thunar/debian/patches/05_fix-crash-drag-gdk-none.patch
===================================================================
--- desktop/trunk/thunar/debian/patches/05_fix-crash-drag-gdk-none.patch	                        (rev 0)
+++ desktop/trunk/thunar/debian/patches/05_fix-crash-drag-gdk-none.patch	2010-03-28 13:57:27 UTC (rev 3917)
@@ -0,0 +1,25 @@
+From 58568697a90844d98c7602902df8084297f19c1b Mon Sep 17 00:00:00 2001
+From: Jannis Pohlmann <jannis at xfce.org>
+Date: Sun, 20 Dec 2009 13:42:21 +0000
+Subject: Avoid requesting drag data if target is GDK_NONE (bug #5771).
+
+Patch provided by k.blammo at gmail.com.
+
+Ported to thunar 1.0.1 for Xubuntu/Debian.
+---
+diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
+index 83139fc..8661861 100644
+--- a/thunar/thunar-standard-view.c
++++ b/thunar/thunar-standard-view.c
+@@ -2857,7 +2858,8 @@ thunar_standard_view_drag_motion (GtkWidget          *view,
+       else
+         {
+           /* request the drag data from the source */
+-          gtk_drag_get_data (view, context, target, time);
++          if (target != GDK_NONE)
++            gtk_drag_get_data (view, context, target, time);
+         }
+ 
+       /* tell Gdk whether we can drop here */
+--
+cgit v0.8.2.1




More information about the Pkg-xfce-commits mailing list