Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191330
b: refs/heads/master
c: 7f82645
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed May 10, 2010
1 parent b6d7787 commit d814601
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f0ac7183f4d270bd9ce511254ba5d931d4f29c9
refs/heads/master: 7f8264539c62378cccbdf9b598927b034bef4a92
6 changes: 3 additions & 3 deletions trunk/tools/perf/util/newt.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct ui_progress *ui_progress__new(const char *title, u64 total)
self->scale = newtScale(0, 0, cols, total);
if (self->scale == NULL)
goto out_free_form;
newtFormAddComponents(self->form, self->scale, NULL);
newtFormAddComponent(self->form, self->scale);
newtRefresh();
}

Expand Down Expand Up @@ -107,7 +107,7 @@ static int popup_menu(int argc, char * const argv[])
if (listbox == NULL)
goto out_destroy_form;

newtFormAddComponents(form, listbox, NULL);
newtFormAddComponent(form, listbox);

for (i = 0; i < argc; ++i) {
int len = strlen(argv[i]);
Expand Down Expand Up @@ -365,7 +365,7 @@ static void map_symbol__annotate_browser(const struct map_symbol *self,

newtCenteredWindow(max_line_len + 2, rows - 5, self->sym->name);
form = newt_form__new();
newtFormAddComponents(form, tree, NULL);
newtFormAddComponent(form, tree);

newtFormRun(form, &es);
newtFormDestroy(form);
Expand Down

0 comments on commit d814601

Please sign in to comment.