index 75fd12e4b559685c3b12b7b5aa03cf032e00a290..b70926947605ea5c8f14a06a5772e67c191c26de 100644 (file)
--- a/src/profile-manager.cpp
+++ b/src/profile-manager.cpp
namespace Inkscape {
-ProfileManager::ProfileManager(Document *document) :
+ProfileManager::ProfileManager(SPDocument *document) :
_doc(document),
_knownProfiles()
{
ProfileManager::~ProfileManager()
{
+ _resource_connection.disconnect();
+ _doc = 0;
}
void ProfileManager::_resourcesChanged()
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :