Patch by jensgr to fix some C99 usage in the tests code.
This commit is contained in:
parent
d4768ac937
commit
26a32c06ee
|
@ -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>
|
Fri Apr 21 14:21:47 PDT 2006 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
* tools/Makefile.am:
|
* tools/Makefile.am:
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -3,6 +3,7 @@ version 0.3.3:
|
||||||
to add -v, --version, -h, and --hint options, and to rename
|
to add -v, --version, -h, and --hint options, and to rename
|
||||||
-T, --type to -c, --category. This also fixes assertions when calling
|
-T, --type to -c, --category. This also fixes assertions when calling
|
||||||
notify-send "". (Bug #41)
|
notify-send "". (Bug #41)
|
||||||
|
* Patch by jensgr to fix some C99 usage. (Bug #44)
|
||||||
|
|
||||||
version 0.3.2 (23-January-2006):
|
version 0.3.2 (23-January-2006):
|
||||||
* Added back notify_get_server_info() and notify_get_server_caps().
|
* Added back notify_get_server_info() and notify_get_server_caps().
|
||||||
|
|
|
@ -26,10 +26,11 @@
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
notify_init("TestCaps");
|
|
||||||
GList *l, *caps;
|
GList *l, *caps;
|
||||||
char *name, *vendor, *version, *spec_version;
|
char *name, *vendor, *version, *spec_version;
|
||||||
|
|
||||||
|
notify_init("TestCaps");
|
||||||
|
|
||||||
if (!notify_get_server_info(&name, &vendor, &version, &spec_version))
|
if (!notify_get_server_info(&name, &vendor, &version, &spec_version))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Failed to receive server info.\n");
|
fprintf(stderr, "Failed to receive server info.\n");
|
||||||
|
|
Loading…
Reference in New Issue