Browse Source

Remove some unnecessary NTK calls.

tags/non-daw-v1.2.0
Jonathan Moore Liles 12 years ago
parent
commit
b83c70175d
5 changed files with 0 additions and 35 deletions
  1. +0
    -9
      mixer/src/main.C
  2. +0
    -7
      sequencer/src/main.C
  3. +0
    -6
      session-manager/src/nsm-proxy-gui.C
  4. +0
    -6
      session-manager/src/session-manager.C
  5. +0
    -7
      timeline/src/main.C

+ 0
- 9
mixer/src/main.C View File

@@ -32,8 +32,6 @@
#include <FL/fl_ask.H> #include <FL/fl_ask.H>
#include <FL/Fl_Shared_Image.H> #include <FL/Fl_Shared_Image.H>
#include <FL/Fl_Pack.H> #include <FL/Fl_Pack.H>
#include "FL/themes.H"
#include "FL/Fl_Theme.H"
#include "Thread.H" #include "Thread.H"
#include "debug.h" #include "debug.h"


@@ -266,13 +264,6 @@ main ( int argc, char **argv )
} }
} }


if ( ! no_ui )
{
fl_register_themes();

Fl_Theme::set();
}

Plugin_Module::spawn_discover_thread(); Plugin_Module::spawn_discover_thread();
mixer->init_osc( osc_port ); mixer->init_osc( osc_port );


+ 0
- 7
sequencer/src/main.C View File

@@ -38,9 +38,6 @@
#include "../icons/icon-16x16.xpm" #include "../icons/icon-16x16.xpm"
#endif #endif


#include "FL/Fl_Theme.H"
#include "FL/themes.H"

// extern const char *BUILD_ID; // extern const char *BUILD_ID;
// extern const char *VERSION; // extern const char *VERSION;


@@ -280,10 +277,6 @@ main ( int argc, char **argv )
#endif #endif
ui->main_window->show( 0, 0 ); ui->main_window->show( 0, 0 );


fl_register_themes();

Fl_Theme::set();

instance_name = strdup( APP_NAME ); instance_name = strdup( APP_NAME );


const char *nsm_url = getenv( "NSM_URL" ); const char *nsm_url = getenv( "NSM_URL" );


+ 0
- 6
session-manager/src/nsm-proxy-gui.C View File

@@ -26,8 +26,6 @@
#define APP_TITLE "NSM Proxy" #define APP_TITLE "NSM Proxy"


#include "NSM_Proxy_UI.H" #include "NSM_Proxy_UI.H"
#include "FL/Fl_Theme.H"
#include "FL/themes.H"
#include <lo/lo.h> #include <lo/lo.h>
#include <signal.h> #include <signal.h>
#include <stdio.h> #include <stdio.h>
@@ -179,10 +177,6 @@ main ( int argc, char **argv )
w->show(); w->show();


fl_register_themes();

Fl_Theme::set();
Fl::lock(); Fl::lock();


Fl::run(); Fl::run();


+ 0
- 6
session-manager/src/session-manager.C View File

@@ -48,8 +48,6 @@


#define APP_NAME "Non Session Manager" #define APP_NAME "Non Session Manager"


#include "FL/themes.H"

#ifdef HAVE_XPM #ifdef HAVE_XPM
#include "FL/Fl.H" #include "FL/Fl.H"
#include "FL/x.H" #include "FL/x.H"
@@ -1150,10 +1148,6 @@ main (int argc, char **argv )
o->show( 0, NULL ); o->show( 0, NULL );
} }
fl_register_themes();
Fl_Theme::set();

static struct option long_options[] = static struct option long_options[] =
{ {
{ "nsm-url", required_argument, 0, 'n' }, { "nsm-url", required_argument, 0, 'n' },


+ 0
- 7
timeline/src/main.C View File

@@ -43,9 +43,6 @@
#include "TLE.H" #include "TLE.H"
#include "Timeline.H" #include "Timeline.H"


#include "FL/themes.H"
#include "FL/Fl_Theme.H"

#include "Project.H" #include "Project.H"
#include "Transport.H" #include "Transport.H"
#include "Engine/Engine.H" #include "Engine/Engine.H"
@@ -253,10 +250,6 @@ main ( int argc, char **argv )
#endif #endif
tle->main_window->show( 0, NULL ); tle->main_window->show( 0, NULL );
fl_register_themes();

Fl_Theme::set();
char *nsm_url = getenv( "NSM_URL" ); char *nsm_url = getenv( "NSM_URL" );


if ( nsm_url ) if ( nsm_url )


Loading…
Cancel
Save