setup.c (281ef544a8476f750b9f378593c42b3e8a0b8788) | setup.c (dc41b9b8f02dbe2228ae787d525dac43beebb7fa) |
---|---|
1#include "gtk.h" 2#include "../../util/cache.h" 3 | 1#include "gtk.h" 2#include "../../util/cache.h" 3 |
4void perf_gtk__init(bool fallback_to_pager __used) | 4int perf_gtk__init(void) |
5{ | 5{ |
6 gtk_init(NULL, NULL); | 6 return gtk_init_check(NULL, NULL) ? 0 : -1; |
7} 8 9void perf_gtk__exit(bool wait_for_ok __used) 10{ 11 gtk_main_quit(); 12} | 7} 8 9void perf_gtk__exit(bool wait_for_ok __used) 10{ 11 gtk_main_quit(); 12} |