Adapt to the new API for the Error class

This commit is contained in:
Pierre Pronchery 2015-11-22 23:53:39 +01:00
parent 2104951c15
commit 5fffc05e23

View File

@ -82,7 +82,7 @@ int main(int argc, char * argv[])
if(optind != argc)
return _usage();
if((clock = clock_new()) == NULL)
return _error(error_get(), 2);
return _error(error_get(NULL), 2);
gtk_main();
clock_delete(clock);
return 0;