[geany/geany-plugins] 6b96b5: geanyctags: Don't implicitly convert pointer to boolean

Colomban Wendling git-noreply at xxxxx
Sat Nov 8 19:48:50 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Wed, 22 Oct 2014 14:50:02 UTC
Commit:      6b96b5b2821a4c7e8d1621d632b1617b28c43abe
             https://github.com/geany/geany-plugins/commit/6b96b5b2821a4c7e8d1621d632b1617b28c43abe

Log Message:
-----------
geanyctags: Don't implicitly convert pointer to boolean


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

Modified: geanyctags/src/geanyctags.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -657,7 +657,7 @@ void plugin_init(G_GNUC_UNUSED GeanyData * data)
 	keybindings_set_item(key_group, KB_FIND_TAG, NULL,
 		0, 0, "find_tag", _("Find tag"), s_ft_item);
 
-	set_widgets_sensitive(geany_data->app->project);
+	set_widgets_sensitive(geany_data->app->project != NULL);
 }
 
 void plugin_cleanup(void)



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


More information about the Plugins-Commits mailing list