gio: cleanup gdbusmessage.c file
authorLukasz Skalski <l.skalski@samsung.com>
Fri, 9 May 2014 13:06:52 +0000 (15:06 +0200)
committerRyan Lortie <desrt@desrt.ca>
Fri, 9 May 2014 14:21:22 +0000 (10:21 -0400)
commit7c205ae90d5ee1dc583b20548fcb65a231af48ff
tree6f77f75013fc79a4c5f94050612e4c6679ee96a2
parent079d20f012127873335fccd174b104b60d9d7f4f
gio: cleanup gdbusmessage.c file

* removed passing GError to ensure_input_padding() function
  - it was necessary before commit 3e5214c15c2a19b64d74e714
  when we used GData*Streams and GMemoryInputStream with
  g_seekable_seek() - now it's useless,

* 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,

* removed passing GError to g_memory_buffer_read_*() functions
  and checking returned value - it also has been inherited after
  old implementation with g_data_input_stream_read_*() functions
  - now it's also useless

* cleaned up code formatting,

https://bugzilla.gnome.org/show_bug.cgi?id=729875
gio/gdbusmessage.c