FS#29643 - [gtk-engines] "Only <glib.h> can be included directly."

Attached to Project: Arch Linux
Opened by Rafael Fontenelle (josephg) - Friday, 27 April 2012, 16:10 GMT
Last edited by Jan de Groot (JGC) - Monday, 11 June 2012, 15:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Since glib 2.32, gtk-engines (currently version 2.20.2) won't build, complaining that "Only <glib.h> can be included directly.". This might affect next build, so just giving the heads up.

Message:

In file included from ./src/animation.c:31:0:
/usr/include/glib-2.0/glib/gtimer.h:28:2: error: #error "Only <glib.h> can be included directly."

To solve this issue, just patch it replacing "<glib/gtimer.h>" with "<glib.h>".
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 11 June 2012, 15:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.21.0.

Loading...