summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniels <niels@dyne.org>2015-07-31 15:21:34 (GMT)
committer niels <niels@dyne.org>2015-07-31 15:21:34 (GMT)
commit1fe52692f4256be64526e30d1c44c0a07b81462b (patch)
tree83619cd248aec3217eaabeaba6f208dfdcb9512f
parent61f187d4bf2165bb5531b7e66c331d457ea27775 (diff)
regression
-rw-r--r--veejay-current/veejay-client/src/gveejay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/veejay-current/veejay-client/src/gveejay.c b/veejay-current/veejay-client/src/gveejay.c
index 641dac0..902449d 100644
--- a/veejay-current/veejay-client/src/gveejay.c
+++ b/veejay-current/veejay-client/src/gveejay.c
@@ -214,7 +214,7 @@ int main(int argc, char *argv[]) {
// default host to connect to
sprintf(hostname, "127.0.0.1");
- /* while( ( n = getopt( argc, argv, "s:h:p:tnvHf:X:P:Vl:T:m:g:")) != EOF )
+ while( ( n = getopt( argc, argv, "s:h:p:tnvHf:X:P:Vl:T:m:g:")) != EOF )
{
sprintf(option, "%c", n );
err += set_option( option, optarg);
@@ -223,7 +223,7 @@ int main(int argc, char *argv[]) {
if( optind > argc )
err ++;
- if( err ) usage(argv[0]);*/
+ if( err ) usage(argv[0]);
/*
if( !g_thread_supported() )
{
@@ -233,8 +233,8 @@ int main(int argc, char *argv[]) {
}*/
-
- gtk_init( &argc, &argv );
+ gtk_init( NULL,NULL );
+// gtk_init( &argc, &argv );
glade_init();
// g_mem_set_vtable( glib_mem_profiler_table );