From f9e6ceaceef1ca01961b045801c88149987f2f96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jir=CC=8Ci=CC=81=20Techet?= Date: Thu, 15 Oct 2015 20:52:08 +0200 Subject: [PATCH] Use g_return_val_if_fail() to fix build on OS X --- src/plugins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins.c b/src/plugins.c index bf3bf0a2..e6594b2f 100644 --- a/src/plugins.c +++ b/src/plugins.c @@ -2000,7 +2000,7 @@ gboolean geany_plugin_register_proxy(GeanyPlugin *plugin, const gchar **extensio foreach_list(node, active_proxies.head) { proxy = node->data; - g_return_if_fail(p != proxy->plugin); + g_return_val_if_fail(p != proxy->plugin, FALSE); } foreach_strv(ext, extensions)