[Galago-commits] r2755 - in trunk/libnotify: . tests

galago-commits at freedesktop.org galago-commits at freedesktop.org
Fri Apr 21 14:36:24 PDT 2006


Author: chipx86
Date: 2006-04-21 14:36:21 -0700 (Fri, 21 Apr 2006)
New Revision: 2755

Modified:
   trunk/libnotify/ChangeLog
   trunk/libnotify/NEWS
   trunk/libnotify/tests/test-server-info.c
Log:
Patch by jensgr to fix some C99 usage in the tests code.


Modified: trunk/libnotify/ChangeLog
===================================================================
--- trunk/libnotify/ChangeLog	2006-04-21 21:27:46 UTC (rev 2754)
+++ trunk/libnotify/ChangeLog	2006-04-21 21:36:21 UTC (rev 2755)
@@ -1,3 +1,9 @@
+Fri Apr 21 14:35:30 PDT 2006  Christian Hammond <chipx86 at 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 at chipx86.com>
 
 	* tools/Makefile.am:

Modified: trunk/libnotify/NEWS
===================================================================
--- trunk/libnotify/NEWS	2006-04-21 21:27:46 UTC (rev 2754)
+++ trunk/libnotify/NEWS	2006-04-21 21:36:21 UTC (rev 2755)
@@ -3,6 +3,7 @@
 	  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().

Modified: trunk/libnotify/tests/test-server-info.c
===================================================================
--- trunk/libnotify/tests/test-server-info.c	2006-04-21 21:27:46 UTC (rev 2754)
+++ trunk/libnotify/tests/test-server-info.c	2006-04-21 21:36:21 UTC (rev 2755)
@@ -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");



More information about the galago-commits mailing list