GNOME Bugzilla – Bug 359165
marshallers can throw warnings with -Wunused
Last modified: 2007-10-13 10:52:13 UTC
see attached testcase
Created attachment 73908 [details] Testcase
Created attachment 73909 [details] [review] Proposed Patch
*** This bug has been marked as a duplicate of 357510 ***
*** Bug 357510 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > Created an attachment (id=73909) [edit] > Proposed Patch thanks, the patch looks good, we don't need the testcase for glib though. please apply and make sure make check still passes with glib and gtk after application and after deleting all the generated marshaller files before the build (to ensure they actually get rebuilt before make check).
2007-10-13 Sven Herzberg <herzi@gnome-de.org> Reviewed by Tim Janik. Created marshallers that don't throw gcc warnings when compiling with -WUnused (fixes #359165). * gobject/glib-genmarshal.c: decorate return_value and invocation_hint with G_GNUC_UNUSED