diff src/notify.c @ 11533:c9b815aeddc1

[gaim-migrate @ 13782] Pushing more of the userinfo stuff to the UI. Also, fixed a notify API warning in the perl plugin. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 12 Sep 2005 20:04:37 +0000
parents bf763a1b2454
children 216988c717da
line wrap: on
line diff
--- a/src/notify.c	Mon Sep 12 18:52:53 2005 +0000
+++ b/src/notify.c	Mon Sep 12 20:04:37 2005 +0000
@@ -22,7 +22,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#include "internal.h"
 #include "notify.h"
 
 static GaimNotifyUiOps *notify_ui_ops = NULL;
@@ -330,15 +329,11 @@
 
 void *
 gaim_notify_userinfo(GaimConnection *gc, const char *who,
-						   const char *primary, const char *secondary,
 						   const char *text, GCallback cb, void *user_data)
 {
 	GaimNotifyUiOps *ops;
-	char title[256];
 
-	g_snprintf(title, sizeof(title), _("Info for %s"), who);
-
-	g_return_val_if_fail(primary != NULL, NULL);
+	g_return_val_if_fail(who != NULL, NULL);
 
 	ops = gaim_notify_get_ui_ops();
 
@@ -348,8 +343,8 @@
 		info            = g_new0(GaimNotifyInfo, 1);
 		info->type      = GAIM_NOTIFY_USERINFO;
 		info->handle    = gc;
-		info->ui_handle = ops->notify_userinfo(gc, who, title, primary,
-											   secondary, text, cb, user_data);
+		info->ui_handle = ops->notify_userinfo(gc, who,
+											   text, cb, user_data);
 
 		handles = g_list_append(handles, info);