diff libpurple/protocols/myspace/myspace.c @ 22266:fc31c35d8024

purple_status_type_new_with_attrs() must be NULL terminated. Finally all the pain of being able to use G_GNUC_NULL_TERMINATED in a backwards compatible way pays off with a bugfix :)
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 04 Feb 2008 04:39:54 +0000
parents e808d83d797e
children 762174f38807
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Mon Feb 04 04:04:02 2008 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Mon Feb 04 04:39:54 2008 +0000
@@ -168,7 +168,8 @@
 			TRUE,                   /* independent */
 
 			PURPLE_TUNE_ARTIST, _("Artist"), purple_value_new(PURPLE_TYPE_STRING),
-			PURPLE_TUNE_TITLE, _("Title"), purple_value_new(PURPLE_TYPE_STRING));
+			PURPLE_TUNE_TITLE, _("Title"), purple_value_new(PURPLE_TYPE_STRING),
+			NULL);
 
 	types = g_list_append(types, status);