gio: g_menu_item_set_icon should not fail if icon is NULL
authorFelix Riemann <friemann@gnome.org>
Sun, 9 Aug 2015 21:13:38 +0000 (23:13 +0200)
committerFelix Riemann <friemann@gnome.org>
Mon, 10 Aug 2015 17:00:24 +0000 (19:00 +0200)
commit34277d69960960aeeb936629fc4c5326c7414f25
treecdaec5eabd7892b12d7b81c7b088cced7f7e53b0
parent0993cf6dc08829aa7ef826f26757b36b5f6f92b4
gio: g_menu_item_set_icon should not fail if icon is NULL

It allows passing a NULL icon to unset the icon and thus should not
log a critical warning if used like that.

https://bugzilla.gnome.org/show_bug.cgi?id=753285
gio/gmenu.c