[geany/geany-plugins] cc3c22: geanyctags: destroy the find tag dialog upon unload

Jiří Techet git-noreply at xxxxx
Tue Oct 14 21:48:33 UTC 2014


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Tue, 14 Oct 2014 21:48:33 UTC
Commit:      cc3c2232d4da5ddc20e0c12060ced0be061f9645
             https://github.com/geany/geany-plugins/commit/cc3c2232d4da5ddc20e0c12060ced0be061f9645

Log Message:
-----------
geanyctags: destroy the find tag dialog upon unload


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

Modified: geanyctags/src/geanyctags.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -639,4 +639,8 @@ void plugin_cleanup(void)
 
 	gtk_widget_destroy(s_gt_item);
 	gtk_widget_destroy(s_sep_item);
+
+	if (s_ft_dialog.widget)
+		gtk_widget_destroy(s_ft_dialog.widget);
+	s_ft_dialog.widget = NULL;
 }



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