Commit ac974a72 authored by Philip Withnall's avatar Philip Withnall

Merge branch 'suppress-int-in-bool-context-warning-with-g++' into 'master'

Suppress -Wint-in-bool-context warning with G_DEFINE_INTERFACE and g++

See merge request !555
parents 3924ef6a b8ac6e14
Pipeline #47257 failed with stages
in 9 minutes and 59 seconds
......@@ -2023,7 +2023,7 @@ type_name##_get_type (void) \
0, \
(GInstanceInitFunc)NULL, \
(GTypeFlags) 0); \
if (TYPE_PREREQ) \
if (TYPE_PREREQ != G_TYPE_INVALID) \
g_type_interface_add_prerequisite (g_define_type_id, TYPE_PREREQ); \
{ /* custom code follows */
#define _G_DEFINE_INTERFACE_EXTENDED_END() \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment