summaryrefslogtreecommitdiff
path: root/mozilla-1460810.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-08-28 12:40:57 +0200
committerMartin Stransky <stransky@redhat.com>2018-08-28 12:40:57 +0200
commitbd7726282836dc39fe7829db7363032ec272ed26 (patch)
treee3b34257b58c850f543711e5462518df3c031193 /mozilla-1460810.patch
parentAdded patches for mozbz#1427700 and mozbz#1463809 (diff)
downloadlibrewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.tar.gz
librewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.tar.bz2
librewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.zip
Update to 62.0
Diffstat (limited to 'mozilla-1460810.patch')
-rw-r--r--mozilla-1460810.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/mozilla-1460810.patch b/mozilla-1460810.patch
deleted file mode 100644
index 016f75f..0000000
--- a/mozilla-1460810.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-# HG changeset patch
-# User Evan Klitzke <evan@eklitzke.org>
-# Parent c5e0ee17388381f96d0acf4bdd9d163827719096
-Bug 1460810 - [Gtk/Wayland] Handle error value (-1) returned by gtk_section_data_get_length(), r=stransky
-
-diff --git a/widget/gtk/nsClipboardWayland.cpp b/widget/gtk/nsClipboardWayland.cpp
---- a/widget/gtk/nsClipboardWayland.cpp
-+++ b/widget/gtk/nsClipboardWayland.cpp
-@@ -662,18 +662,19 @@ wayland_clipboard_contents_received(GtkC
- delete fastTrack;
- }
-
- void
- nsRetrievalContextWayland::TransferFastTrackClipboard(
- int aClipboardRequestNumber, GtkSelectionData *aSelectionData)
- {
- if (mClipboardRequestNumber == aClipboardRequestNumber) {
-- mClipboardDataLength = gtk_selection_data_get_length(aSelectionData);
-- if (mClipboardDataLength > 0) {
-+ int dataLength = gtk_selection_data_get_length(aSelectionData);
-+ if (dataLength > 0) {
-+ mClipboardDataLength = dataLength;
- mClipboardData = reinterpret_cast<char*>(
- g_malloc(sizeof(char)*mClipboardDataLength));
- memcpy(mClipboardData, gtk_selection_data_get_data(aSelectionData),
- sizeof(char)*mClipboardDataLength);
- }
- } else {
- NS_WARNING("Received obsoleted clipboard data!");
- }
bgstack15