1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix the gtk2 dnd implementation broken, see more details in the bugzilla. This

patch[1] was created by Matthias Clasen <mclasen@redhat.com>. This bug was
started to reproduce with least 2.10.7 version of gtk2. Bump the PORTREVISION.

PR:		ports/107689
Reported by:	a few users
Bugzilla:	https://bugzilla.mozilla.org/show_bug.cgi?id=355248
		https://bugzilla.mozilla.org/show_bug.cgi?id=367203 [1]
		http://bugzilla.gnome.org/show_bug.cgi?id=394525
This commit is contained in:
Jeremy Messenger 2007-01-18 22:53:12 +00:00
parent baac1ec65c
commit 2a03bd8a1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182764
2 changed files with 19 additions and 1 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= flock
DISTVERSION= 0.7
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_LOCAL}
# http://ftp.osuosl.org/pub/${PORTNAME}/source/${PORTVERSION}/:flock

View File

@ -0,0 +1,18 @@
--- widget/src/gtk2/nsDragService.cpp.nograb 2007-01-16 21:26:49.000000000 -0500
+++ widget/src/gtk2/nsDragService.cpp 2007-01-16 21:27:04.000000000 -0500
@@ -799,7 +799,6 @@
void
nsDragService::GetTargetDragData(GdkAtom aFlavor)
{
- gtk_grab_add(mHiddenWidget);
PR_LOG(sDragLm, PR_LOG_DEBUG, ("getting data flavor %d\n", aFlavor));
PR_LOG(sDragLm, PR_LOG_DEBUG, ("mLastWidget is %p and mLastContext is %p\n",
mTargetWidget, mTargetDragContext));
@@ -817,7 +816,6 @@
gtk_main_iteration();
}
PR_LOG(sDragLm, PR_LOG_DEBUG, ("finished inner iteration\n"));
- gtk_grab_remove(mHiddenWidget);
}
void