Namhyung Kim | 281ef54 | 2012-04-30 13:55:08 +0900 | [diff] [blame] | 1 | #include "gtk.h" |
2 | #include "../../util/cache.h" | ||||
3 | |||||
Namhyung Kim | dc41b9b | 2012-04-30 13:55:09 +0900 | [diff] [blame^] | 4 | int perf_gtk__init(void) |
Namhyung Kim | 281ef54 | 2012-04-30 13:55:08 +0900 | [diff] [blame] | 5 | { |
Namhyung Kim | dc41b9b | 2012-04-30 13:55:09 +0900 | [diff] [blame^] | 6 | return gtk_init_check(NULL, NULL) ? 0 : -1; |
Namhyung Kim | 281ef54 | 2012-04-30 13:55:08 +0900 | [diff] [blame] | 7 | } |
8 | |||||
9 | void perf_gtk__exit(bool wait_for_ok __used) | ||||
10 | { | ||||
11 | gtk_main_quit(); | ||||
12 | } |