changeset 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 7bd8ec61e687
children 7f7c89ff5cc7
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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);