After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746753 - Glib-compile-resources --generate-header not using ".h" as extension for the output file
Glib-compile-resources --generate-header not using ".h" as extension for the ...
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
2.44.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-03-25 15:32 UTC by Alex Puchades
Modified: 2015-03-29 19:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (865 bytes, patch)
2015-03-25 15:32 UTC, Alex Puchades
committed Details | Review

Description Alex Puchades 2015-03-25 15:32:07 UTC
Created attachment 300290 [details] [review]
Proposed patch

Since glib-compile-resources --generate-source without specifying a target uses ".c" as an extension, it would be better to make glib-compile-resources --generate-header also use ".h" as an extension (the current behavior is to default to ".gresource").

Attached patch.
Comment 1 Matthias Clasen 2015-03-29 19:28:52 UTC
Thanks, committed with some whitespace fixes and a better commit message.
Comment 2 Alex Puchades 2015-03-29 19:34:50 UTC
Glad to help, next time I'll be more careful.