Add NULL guard for reloading "untitled" documents
commit5fff1e69c2c68f834f33ebb839127609f22a97bf
authorMatthew Brush <matt@geany.org>
Wed, 25 Jul 2012 00:56:29 +0000 (24 17:56 -0700)
committerMatthew Brush <matt@geany.org>
Wed, 25 Jul 2012 00:56:29 +0000 (24 17:56 -0700)
treeaeeb11b34c1416b80574210fef09719d18861b3b
parentd11f9a51b939bf39c3c1676ab823147d460ede75
Add NULL guard for reloading "untitled" documents

Previously it was using a GLIB assertion which shouldn't be used
to detect a normal condition and so it caused a warning on the
console output when clicking "Reload" with an "untitled" document.
src/callbacks.c