summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/DSSIController.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-20 01:25:40 +0000
committerDavid Robillard <d@drobilla.net>2007-09-20 01:25:40 +0000
commit99524eb321120773c39ca357396603eb32cffd2c (patch)
treeaca911f6109756b865f8315e27a13e57f6c9b3b4 /src/libs/gui/DSSIController.cpp
parent0a9c38574cafd3e77234d220a18241025098bbb3 (diff)
downloadingen-99524eb321120773c39ca357396603eb32cffd2c.tar.gz
ingen-99524eb321120773c39ca357396603eb32cffd2c.tar.bz2
ingen-99524eb321120773c39ca357396603eb32cffd2c.zip
Strip a bunch of old useless code.
git-svn-id: http://svn.drobilla.net/lad/ingen@735 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/DSSIController.cpp')
-rw-r--r--src/libs/gui/DSSIController.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libs/gui/DSSIController.cpp b/src/libs/gui/DSSIController.cpp
index b5537f82..9bb037ba 100644
--- a/src/libs/gui/DSSIController.cpp
+++ b/src/libs/gui/DSSIController.cpp
@@ -229,11 +229,11 @@ DSSIController::attempt_to_show_gui()
}
if ((S_ISREG(buf.st_mode) || S_ISLNK(buf.st_mode)) &&
- (buf.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) {
+ (buf.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) {
if (verbose) {
fprintf(stderr, "%s: trying to execute GUI at \"%s\"\n",
- myName, filename);
+ myName, filename);
}
if (fork() == 0) {
@@ -267,8 +267,9 @@ void
DSSIController::show_menu(GdkEventButton* event)
{
#if 0
- if (_banks_dirty)
- update_program_menu();
+ if (_banks_dirty)
+ update_program_menu();
+
NodeController::show_menu(event);
#endif
}