~ubuntu-branches/ubuntu/utopic/newt/utopic

« back to all changes in this revision

Viewing changes to testgrid.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-07-01 23:06:29 UTC
  • mfrom: (2.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20130701230629-vn7p5llzt03j09mv
Tags: 0.52.15-2ubuntu1
* Merge with Debian; remaining changes:
  - Fix python-* package descriptions.
  - Install/remove alternatives for the ubuntu palette.
  - Don't install python-newt example files.
  - Install whiptail in /bin instead of /usr/bin.
* Still build with tcl8.5 (8.6 is in universe).

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
int main(void) {
9
9
    newtComponent b1, b2, b3, b4;
10
 
    newtComponent answer, f, t;
 
10
    newtComponent f, t;
11
11
    newtGrid grid, subgrid;
12
12
    char * flowedText;
13
13
    int textWidth, textHeight, rc, i;
45
45
    newtGridWrappedWindow(grid, "first window");
46
46
    newtGridFree(grid, 1);
47
47
 
48
 
    answer = newtRunForm(f);
 
48
    newtRunForm(f);
49
49
        
50
50
    newtFormDestroy(f);
51
51
    newtPopWindow();
79
79
 
80
80
    f = newtForm(NULL, NULL, 0);
81
81
    newtFormAddComponents(f, b1, t, b2, NULL);
82
 
    answer = newtRunForm(f);
 
82
    newtRunForm(f);
83
83
 
84
84
    newtPopWindow();
85
85
    newtFormDestroy(f);