Use g_return_val_if_fail() to fix build on OS X

This commit is contained in:
Jiří Techet 2015-10-15 20:52:08 +02:00
parent 7215c50277
commit f9e6ceacee

View File

@ -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)