[Xfce-bugs] review granted: [Bug 15734] Missing initializer for field 'interface_finalize' of 'GInterfaceInfo' in THUNARX_DEFINE_TYPE_WITH_CODE : [Attachment 8810] Proposed patch

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Jul 24 22:29:01 CEST 2019


jeinzi at gmx.de has granted  review:
Bug 15734: Missing initializer for field 'interface_finalize' of
'GInterfaceInfo' in THUNARX_DEFINE_TYPE_WITH_CODE
https://bugzilla.xfce.org/show_bug.cgi?id=15734

Attachment 8810: Proposed patch
https://bugzilla.xfce.org/attachment.cgi?id=8810&action=edit



--- Comment #2 from jeinzi at gmx.de ---
Created attachment 8810
  --> https://bugzilla.xfce.org/attachment.cgi?id=8810&action=edit
Proposed patch

It turns out that the C preprocessor doesn't like commas in macro arguments
when they are not between parenthesis, so I had to create two additional macros
that defer the creation of the commas.
See https://stackoverflow.com/a/49349949/3641597


More information about the Xfce-bugs mailing list