Adapt to the new API for the Error class
This commit is contained in:
parent
2104951c15
commit
5fffc05e23
|
@ -82,7 +82,7 @@ int main(int argc, char * argv[])
|
||||||
if(optind != argc)
|
if(optind != argc)
|
||||||
return _usage();
|
return _usage();
|
||||||
if((clock = clock_new()) == NULL)
|
if((clock = clock_new()) == NULL)
|
||||||
return _error(error_get(), 2);
|
return _error(error_get(NULL), 2);
|
||||||
gtk_main();
|
gtk_main();
|
||||||
clock_delete(clock);
|
clock_delete(clock);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user