From d454d77da77d1ef2b5b0ccaed5698871bd5f9d3e Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Fri, 10 Sep 2010 01:34:09 -0700 Subject: Fixed valgrind-detected issue with tooltip shortcuts and profile manager on delete. (bzr r9753) --- src/profile-manager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/profile-manager.cpp') diff --git a/src/profile-manager.cpp b/src/profile-manager.cpp index 1cd965e39..b5ac861e1 100644 --- a/src/profile-manager.cpp +++ b/src/profile-manager.cpp @@ -23,6 +23,8 @@ ProfileManager::ProfileManager(SPDocument *document) : ProfileManager::~ProfileManager() { + _resource_connection.disconnect(); + _doc = 0; } void ProfileManager::_resourcesChanged() -- cgit v1.2.3 From 144819c918dc761641c3cb5a490205fb73194ee3 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Wed, 17 Nov 2010 13:12:56 +1100 Subject: Super duper mega (fun!) commit: replaced encoding=utf-8 with fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900) --- src/profile-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/profile-manager.cpp') diff --git a/src/profile-manager.cpp b/src/profile-manager.cpp index b5ac861e1..b70926947 100644 --- a/src/profile-manager.cpp +++ b/src/profile-manager.cpp @@ -96,4 +96,4 @@ ColorProfile* ProfileManager::find(gchar const* name) 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 : -- cgit v1.2.3