summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-13 16:04:14 +0000
committerDavid Robillard <d@drobilla.net>2009-05-13 16:04:14 +0000
commitb84b50d2bbbfcd196d62344eaeef7fb08e3d686c (patch)
tree5b65cb8ec437087f1352ac23730355d6cc6369cb /src/main.cpp
parentddc09de45b45bdf2afdeff68eb8a17ad237ef6c3 (diff)
downloadpatchage-b84b50d2bbbfcd196d62344eaeef7fb08e3d686c.tar.gz
patchage-b84b50d2bbbfcd196d62344eaeef7fb08e3d686c.tar.bz2
patchage-b84b50d2bbbfcd196d62344eaeef7fb08e3d686c.zip
Strip trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1999 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e8f379a..e77d8c7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,15 +1,15 @@
/* This file is part of Patchage.
* Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
+ *
* Patchage is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Patchage is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
@@ -24,20 +24,20 @@
int main(int argc, char** argv)
{
try {
-
+
Glib::thread_init();
Gnome::Canvas::init();
Gtk::Main app(argc, argv);
-
+
Patchage patchage(argc, argv);
app.run(*patchage.window());
-
+
} catch (std::exception& e) {
std::cerr << "Caught exception, aborting. Error message was: "
<< e.what() << std::endl;
return 1;
-
+
} catch (Glib::Exception& e) {
std::cerr << "Caught exception, aborting. Error message was: "
<< e.what() << std::endl;