GIcon: NULLify the `type' out param in the sync methods too
authorEmanuele Aina <emanuele.aina@collabora.com>
Mon, 20 May 2013 14:53:40 +0000 (15:53 +0100)
committerEmanuele Aina <emanuele.aina@collabora.com>
Tue, 28 May 2013 20:59:24 +0000 (22:59 +0200)
commit3382ac99be3141e084fea888c428f5d5bf725ab7
treec9057898a70e5b7d1535144dc9a4a87331073b5d
parent7a861ab4c9b4a8e379b1c5b7ec0385c5ef0c5d3d
GIcon: NULLify the `type' out param in the sync methods too

Both g_[file|bytes]_icon_load() leave the `type' out parameter
untouched, while the async methods g_[file|bytes]_icon_load_finish()
always set it to NULL.

For consistency's sake NULLify it in the sync methods too.

https://bugzilla.gnome.org/show_bug.cgi?id=700725
gio/gbytesicon.c
gio/gfileicon.c