SF.net SVN: geany-plugins:[187] trunk/geanysendmail/src/geanysendmail.c

frlan at users.sourceforge.net frlan at xxxxx
Fri Sep 26 19:49:20 UTC 2008


Revision: 187
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=187&view=rev
Author:   frlan
Date:     2008-09-26 19:49:20 +0000 (Fri, 26 Sep 2008)

Log Message:
-----------
GeanySendMail: Added a check to prevent from issues when no address input dialog was shown.

Modified Paths:
--------------
    trunk/geanysendmail/src/geanysendmail.c

Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c	2008-09-26 19:43:36 UTC (rev 186)
+++ trunk/geanysendmail/src/geanysendmail.c	2008-09-26 19:49:20 UTC (rev 187)
@@ -200,7 +200,8 @@
 			g_free(locale_filename);
 			g_free(command);
 
-			gtk_widget_destroy(dialog);
+			if (dialog != NULL)
+				gtk_widget_destroy(dialog);
 		}
 		else
 		{


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list