changeset 15214:bfc90a066604

[gaim-migrate @ 18003] Get rid of some warnings. It might be good if it were possible to close email notifications in the buddylist. I dunno. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 15 Dec 2006 02:48:27 +0000
parents fcb3c61848e0
children 74511b8e9b46
files gtk/gtknotify.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtknotify.c	Fri Dec 15 02:42:07 2006 +0000
+++ b/gtk/gtknotify.c	Fri Dec 15 02:48:27 2006 +0000
@@ -343,14 +343,14 @@
 				                           GAIM_STOCK_ICON_ONLINE_MSG, GTK_ICON_SIZE_BUTTON, NULL);
 		char *label_text = g_strdup_printf(ngettext("<b>You have %d new e-mail.</b>",
 							    "<b>You have %d new e-mails.</b>",
-							    count),count);
+							    count), (int)count);
 		
 		inbox->handle = gc;
 		inbox->url = urls ? g_strdup(urls[0]) : NULL;
 		gaim_gtk_blist_set_headline(label_text, 
 					    pixbuf, G_CALLBACK(open_inbox_cb), inbox);
 		g_object_unref(pixbuf);
-		return;
+		return NULL;
 	}
 
 	if (mail_dialog == NULL || !detailed)