GNOME Bugzilla – Bug 729875
gio: cleanup gdbusmessage.c file
Last modified: 2014-05-10 02:23:33 UTC
cleanup gdbusmessage.c file: 1) removed passing GError to ensure_input_padding() function - it was necessary before commit 3e5214c15c2a19b64d74e7142b6cd0d520dddf04 when we used GData*Streams and GMemoryInputStream with g_seekable_seek() - now it's useless, 2) removed checking return value of ensure_input_padding() function - in previous implementation (like above) g_seekable_seek() could return FALSE - now it's always TRUE, 3) removed passing GError to g_memory_buffer_read_*() functions and checking return value - it also has been inherited after old implementation with g_data_input_stream_read_*() functions - now it's also useless 4) cleaned up code formatting,
Created attachment 276244 [details] [review] [PATCH] gio: cleanup gdbusmessage.c file
Review of attachment 276244 [details] [review]: Looks pretty harmless, so please commit. Ideally, in the future, try to keep the whitespace fixes to "pure whitespace" patches, but please don't waste your time cleaning that up for this case.
(In reply to comment #2) > Review of attachment 276244 [details] [review]: > > Looks pretty harmless, so please commit. > But how? I don't have enough privileges to commit it :) > Ideally, in the future, try to keep the whitespace fixes to "pure whitespace" > patches, but please don't waste your time cleaning that up for this case.
Sorry. Forgot. :)