[geany/geany] f9e6ce: Use g_return_val_if_fail() to fix build on OS X

Jiří Techet git-noreply at xxxxx
Thu Oct 15 18:52:08 UTC 2015


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Thu, 15 Oct 2015 18:52:08 UTC
Commit:      f9e6ceaceef1ca01961b045801c88149987f2f96
             https://github.com/geany/geany/commit/f9e6ceaceef1ca01961b045801c88149987f2f96

Log Message:
-----------
Use g_return_val_if_fail() to fix build on OS X


Modified Paths:
--------------
    src/plugins.c

Modified: src/plugins.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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)



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list