summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2018-09-30 01:51:16 +0300
committerMart Raudsepp <leio@gentoo.org>2018-09-30 03:08:21 +0300
commit7d2dc54963d521a41dc1102242b979f89b0879b9 (patch)
tree29fdbf5d922054867da6519d93e28f8573f014a9 /net-irc/polari/files/3.26.2-drag-warning-fix.patch
parentdev-libs/gjs: bump to 1.50.4 (diff)
downloadgentoo-7d2dc54963d521a41dc1102242b979f89b0879b9.tar.gz
gentoo-7d2dc54963d521a41dc1102242b979f89b0879b9.tar.bz2
gentoo-7d2dc54963d521a41dc1102242b979f89b0879b9.zip
net-irc/polari: bump to 3.26.2
Signed-off-by: Mart Raudsepp <leio@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'net-irc/polari/files/3.26.2-drag-warning-fix.patch')
-rw-r--r--net-irc/polari/files/3.26.2-drag-warning-fix.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-irc/polari/files/3.26.2-drag-warning-fix.patch b/net-irc/polari/files/3.26.2-drag-warning-fix.patch
new file mode 100644
index 000000000000..3eceb523b892
--- /dev/null
+++ b/net-irc/polari/files/3.26.2-drag-warning-fix.patch
@@ -0,0 +1,38 @@
+From e94de3aad89eecac7eaf8236b4c0b2c7919bc70b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
+Date: Fri, 27 Oct 2017 04:19:30 +0200
+Subject: [PATCH] pasteManager: Remove excess arguments
+
+Our helper method takes less arguments than the GTK+ method it's based
+on - remove the excess argument to avoid warnings.
+
+Fixes https://gitlab.gnome.org/GNOME/polari/issues/14
+---
+ src/pasteManager.js | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/pasteManager.js b/src/pasteManager.js
+index e39f493..aa321f4 100644
+--- a/src/pasteManager.js
++++ b/src/pasteManager.js
+@@ -122,7 +122,7 @@ var DropTargetIface = new Lang.Interface({
+ if (!this.can_drop)
+ return Gdk.EVENT_PROPAGATE;
+
+- if (!Polari.drag_dest_supports_target(widget, context, null))
++ if (!Polari.drag_dest_supports_target(widget, context))
+ return Gdk.EVENT_PROPAGATE;
+
+ Polari.drag_dest_request_data(widget, context, time);
+@@ -138,7 +138,7 @@ var DropTargetIface = new Lang.Interface({
+ if (!this.can_drop)
+ return Gdk.EVENT_PROPAGATE;
+
+- if (!Polari.drag_dest_supports_target(widget, context, null))
++ if (!Polari.drag_dest_supports_target(widget, context))
+ return Gdk.EVENT_PROPAGATE;
+
+ let info = Polari.drag_dest_find_target(widget, context);
+--
+2.17.0
+