summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 80d400d..5a8d6be 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -15,16 +15,14 @@
*/
#ifdef __APPLE__
+# include "binary_location.h"
-#include "binary_location.h"
+# include <gtk/gtkrc.h>
-#include <gtk/gtkrc.h>
-
-#include <unistd.h>
-
-#include <cstdlib>
-#include <string>
+# include <unistd.h>
+# include <cstdlib>
+# include <string>
#endif
#include "Patchage.hpp"
@@ -78,13 +76,13 @@ main(int argc, char** argv)
try {
- Glib::thread_init();
+ Glib::thread_init();
- Gtk::Main app(argc, argv);
+ Gtk::Main app(argc, argv);
- Patchage patchage(argc, argv);
- app.run(*patchage.window());
- patchage.save();
+ Patchage patchage(argc, argv);
+ app.run(*patchage.window());
+ patchage.save();
} catch (std::exception& e) {
std::cerr << "patchage: error: " << e.what() << std::endl;