perf ui: Make setup_browser() generic
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 30 Apr 2012 04:55:05 +0000 (13:55 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 May 2012 19:17:20 +0000 (16:17 -0300)
commitca09b2e1b307724666577859eb460ac6d4c67330
tree6516298b0c5926295143666a5c56fdc27199f438
parent12864b31583bcbd26789ebe68c612688f9ee2e30
perf ui: Make setup_browser() generic

The setup_browser contained newt-related codes in it.

As gtk front-end added recently, it should be more generic to handle
both cases properly.

So move newt codes to the ui__init() for now.

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1335761711-31403-2-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/setup.c