From 625e1c0c58931caec50cdbe5be80312550be4991 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Oct 2011 16:03:15 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3519 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchWindow.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp index 2fff6f81..bab06da8 100644 --- a/src/gui/PatchWindow.cpp +++ b/src/gui/PatchWindow.cpp @@ -56,8 +56,8 @@ namespace Ingen { namespace GUI { static const int STATUS_CONTEXT_ENGINE = 0; -static const int STATUS_CONTEXT_PATCH = 1; -static const int STATUS_CONTEXT_HOVER = 2; +static const int STATUS_CONTEXT_PATCH = 1; +static const int STATUS_CONTEXT_HOVER = 2; PatchWindow::PatchWindow(BaseObjectType* cobject, const Glib::RefPtr& xml) @@ -173,21 +173,20 @@ PatchWindow::PatchWindow(BaseObjectType* cobject, sigc::mem_fun(App::instance(), &App::show_about))); _breadcrumbs = new BreadCrumbs(); - _breadcrumbs->signal_patch_selected.connect(sigc::mem_fun(this, &PatchWindow::set_patch_from_path)); + _breadcrumbs->signal_patch_selected.connect( + sigc::mem_fun(this, &PatchWindow::set_patch_from_path)); #ifndef HAVE_CURL _menu_upload->hide(); #endif Glib::RefPtr clipboard = Gtk::Clipboard::get(); - clipboard->signal_owner_change().connect(sigc::mem_fun(this, &PatchWindow::event_clipboard_changed)); + clipboard->signal_owner_change().connect( + sigc::mem_fun(this, &PatchWindow::event_clipboard_changed)); } PatchWindow::~PatchWindow() { - // Prevents deletion - //m_patch->claim_patch_view(); - delete _breadcrumbs; } @@ -278,8 +277,10 @@ PatchWindow::set_patch(SharedPtr patch, show(); _alignment->show_all(); - _view->signal_object_entered.connect(sigc::mem_fun(this, &PatchWindow::object_entered)); - _view->signal_object_left.connect(sigc::mem_fun(this, &PatchWindow::object_left)); + _view->signal_object_entered.connect( + sigc::mem_fun(this, &PatchWindow::object_entered)); + _view->signal_object_left.connect( + sigc::mem_fun(this, &PatchWindow::object_left)); _enable_signal = true; } -- cgit v1.2.1