]> granicus.if.org Git - graphviz/commitdiff
fix prototypes for C99 compiance, and to reduce compiler warning noise
authorellson <devnull@localhost>
Tue, 19 May 2009 14:03:42 +0000 (14:03 +0000)
committerellson <devnull@localhost>
Tue, 19 May 2009 14:03:42 +0000 (14:03 +0000)
cmd/smyrna/main.c

index 985130d0560d90cc8edc94f51dae36b3f9a7189f..cc828b01bd8f364d9c48fbaa902a205609267333 100755 (executable)
@@ -161,6 +161,11 @@ int main(int argc, char *argv[])
 #endif
     }
 
+       
+       glutInitWindowSize(500, 500);
+       glutInitWindowPosition(0, 0);
+       glutInit(&argc,argv);
+
     load_attributes();
 
 #ifdef G_OS_WIN32
@@ -214,9 +219,6 @@ int main(int argc, char *argv[])
 
        change_cursor(GDK_TOP_LEFT_ARROW);
 
-#ifndef WIN32  
-       glutInit(&argc,argv);
-#endif
        gtk_main();