SF.net SVN: geany-plugins:[1134] trunk/geanylatex/src/geanylatex.c
frlan at users.sourceforge.net
frlan at xxxxx
Sun Jan 17 16:29:03 UTC 2010
Revision: 1134
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1134&view=rev
Author: frlan
Date: 2010-01-17 16:29:02 +0000 (Sun, 17 Jan 2010)
Log Message:
-----------
GeanyLaTeX: Check for document not NULL
Modified Paths:
--------------
trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c 2010-01-17 16:28:22 UTC (rev 1133)
+++ trunk/geanylatex/src/geanylatex.c 2010-01-17 16:29:02 UTC (rev 1134)
@@ -335,6 +335,7 @@
static void on_document_new(GObject *object, GeanyDocument *doc, gpointer data)
{
+ g_return_if_fail(doc != NULL);
on_document_activate(object, doc, data);
}
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