[geany/geany] 9420ec: Merge pull request #697 from techee/val_if_fail

Colomban Wendling git-noreply at xxxxx
Mon Oct 19 13:45:28 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 19 Oct 2015 13:45:28 UTC
Commit:      9420ec84939ed8625611047b6764da5488c09537
             https://github.com/geany/geany/commit/9420ec84939ed8625611047b6764da5488c09537

Log Message:
-----------
Merge pull request #697 from techee/val_if_fail

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