GNOME Bugzilla – Bug 755363
Non-void function should return a value
Last modified: 2015-09-21 18:44:09 UTC
Function gimp_tool_gui_get_visible in app/display/gimptoolgui.c has a return value, so it cannot use g_return_if_fail. It should use g_return_val_if_fail.
Thanks. There must be something seriously broken with my gcc, it did warn about this before some recent update... commit 526a3a6020fe19e5c2361e93306006bf1cccc7f4 Author: Michael Natterer <mitch@gimp.org> Date: Mon Sep 21 20:37:29 2015 +0200 Bug 755363 - Non-void function should return a value Use g_return_val_if_fail() in function returning non-void. app/display/gimptoolgui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This should be a glib bug: https://bugzilla.gnome.org/show_bug.cgi?id=753310