Patch by jensgr to fix some C99 usage in the tests code.

This commit is contained in:
Christian Hammond 2006-04-21 21:36:21 +00:00
parent d4768ac937
commit 26a32c06ee
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Fri Apr 21 14:35:30 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* tests/test-server-info.c:
* NEWS:
- Patch by jensgr to fix some C99 usage in the tests code.
Fri Apr 21 14:21:47 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* tools/Makefile.am:

1
NEWS
View File

@ -3,6 +3,7 @@ version 0.3.3:
to add -v, --version, -h, and --hint options, and to rename
-T, --type to -c, --category. This also fixes assertions when calling
notify-send "". (Bug #41)
* Patch by jensgr to fix some C99 usage. (Bug #44)
version 0.3.2 (23-January-2006):
* Added back notify_get_server_info() and notify_get_server_caps().

View File

@ -26,10 +26,11 @@
int
main(int argc, char **argv)
{
notify_init("TestCaps");
GList *l, *caps;
char *name, *vendor, *version, *spec_version;
notify_init("TestCaps");
if (!notify_get_server_info(&name, &vendor, &version, &spec_version))
{
fprintf(stderr, "Failed to receive server info.\n");