From: Debian Qt/KDE Maintainers Date: Wed, 24 Nov 2021 19:27:08 +0000 (+0000) Subject: remove invalid g_object declarations to fix build with glib ≥ 2.68 X-Git-Tag: archive/raspbian/5.212.0_alpha4-14+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0fe8f39f6e8ff1d4737745a1da1a01f5e276988f;p=qtwebkit-opensource-src.git remove invalid g_object declarations to fix build with glib ≥ 2.68 Origin: https://build.opensuse.org/package/view_file/KDE:Qt5/libqt5-qtwebkit/0001-Remove-invalid-g_object-declarations-to-fix-build-wi.patch Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1058 Last-Update: 2021-04-07 Gbp-Pq: Name glib_2.68.diff --- diff --git a/Source/WTF/wtf/glib/GRefPtr.h b/Source/WTF/wtf/glib/GRefPtr.h index d05084b6..4a7fa0b7 100644 --- a/Source/WTF/wtf/glib/GRefPtr.h +++ b/Source/WTF/wtf/glib/GRefPtr.h @@ -28,9 +28,7 @@ #include #include #include - -extern "C" void g_object_unref(gpointer); -extern "C" gpointer g_object_ref_sink(gpointer); +#include namespace WTF {