void-packages/srcpkgs/telegram-desktop/patches/0003-remove-redundant-exter...

29 lines
890 B
Diff

https://github.com/desktop-app/lib_webview/pull/9
From 75e924934eee8624020befbef1f3cb5b865d3b86 Mon Sep 17 00:00:00 2001
From: Vitaly Lipatov <lav@altlinux.ru>
Date: Fri, 9 Jul 2021 16:56:50 +0300
Subject: [PATCH] webview_linux_webkit_gtk.h: there are already exists extern C
in the included headers
---
webview/platform/linux/webview_linux_webkit_gtk.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/webview/platform/linux/webview_linux_webkit_gtk.h b/webview/platform/linux/webview_linux_webkit_gtk.h
index 8d180c1..e894c75 100644
--- a/Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h
+++ b/Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h
@@ -6,11 +6,9 @@
//
#pragma once
-extern "C" {
#include <JavaScriptCore/JavaScript.h>
#include <gtk/gtk.h>
#include <webkit2/webkit2.h>
-} // extern "C"
namespace Webview::WebkitGtk {