diff libpurple/notify.c @ 20217:d4e250c3cd44

applied changes from 4bb1d6cbfe69a2e7782336a7e6e93e438a8bdbfc through 3fcc47961d378fa0cd4eeb00dc6923b16a3a4151
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 15:45:06 +0000
parents 44b4e8bd759b
children 6b8bc3309ab7
line wrap: on
line diff
--- a/libpurple/notify.c	Fri Sep 28 15:44:45 2007 +0000
+++ b/libpurple/notify.c	Fri Sep 28 15:45:06 2007 +0000
@@ -149,8 +149,6 @@
 {
 	PurpleNotifyUiOps *ops;
 
-	g_return_val_if_fail(count != 0, NULL);
-
 	if (count == 1) {
 		return purple_notify_email(handle,
 								 (subjects == NULL ? NULL : *subjects),
@@ -505,7 +503,7 @@
 	g_return_if_fail(user_info_entry != NULL);
 	
 	g_free(user_info_entry->label);
-	g_free(user_info_entry->value);	
+	g_free(user_info_entry->value);
 	PURPLE_DBUS_UNREGISTER_POINTER(user_info_entry);
 	g_free(user_info_entry);
 }
@@ -567,7 +565,7 @@
 		if (user_info_entry->label && user_info_entry->value)
 			g_string_append(text, ": ");
 		if (user_info_entry->value)
-			g_string_append(text, user_info_entry->value);			
+			g_string_append(text, user_info_entry->value);
 
 		/* Display a section break as a horizontal line */
 		if (user_info_entry->type == PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_BREAK)