Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove invalid g_object declarations to fix build with glib >= 2.68 #1058

Open
wants to merge 1 commit into
base: qtwebkit-dev-wip
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove invalid g_object declarations to fix build with glib >= 2.68
g_object_ref_sink is defined as a macro meanwhile and so the build fails.
Just remove the declarations, glib.h is included anyway.
  • Loading branch information
Vogtinator committed Apr 7, 2021
commit 5b698ba3faffd4e198a45be9fe74f53307395e4b
3 changes: 0 additions & 3 deletions Source/WTF/wtf/glib/GRefPtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
#include <algorithm>
#include <glib.h>

extern "C" void g_object_unref(gpointer);
extern "C" gpointer g_object_ref_sink(gpointer);

namespace WTF {

enum GRefPtrAdoptType { GRefPtrAdopt };
Expand Down