]> git.ipfire.org Git - thirdparty/newt.git/blobdiff - testgrid.c
install python modules to purelib and platlib
[thirdparty/newt.git] / testgrid.c
index a2aa3d27570c15806bcc4852bd9a84f9e09062af..7cc9dd72bb3352c1d0237e6c9125b3757a334173 100644 (file)
@@ -7,7 +7,7 @@
 
 int main(void) {
     newtComponent b1, b2, b3, b4;
-    newtComponent answer, f, t;
+    newtComponent f, t;
     newtGrid grid, subgrid;
     char * flowedText;
     int textWidth, textHeight, rc, i;
@@ -45,7 +45,7 @@ int main(void) {
     newtGridWrappedWindow(grid, "first window");
     newtGridFree(grid, 1);
 
-    answer = newtRunForm(f);
+    newtRunForm(f);
        
     newtFormDestroy(f);
     newtPopWindow();
@@ -79,7 +79,7 @@ int main(void) {
 
     f = newtForm(NULL, NULL, 0);
     newtFormAddComponents(f, b1, t, b2, NULL);
-    answer = newtRunForm(f);
+    newtRunForm(f);
 
     newtPopWindow();
     newtFormDestroy(f);