comparison libpurple/notify.c @ 27873:a3cfc07e34f7

propagate from branch 'im.pidgin.pidgin' (head 038d9d36d640ed83f9df5333d57dc0cd8b9ae847) to branch 'im.pidgin.pidgin.yaz' (head 669ff15842446a1d6cdeef434d9cc14184dd7759)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 20 Aug 2008 22:38:31 +0000
parents f7944b0ffe46
children 45ce87f9a07f
comparison
equal deleted inserted replaced
23871:7cb7bc8865af 27873:a3cfc07e34f7
413 void *ui_handle; 413 void *ui_handle;
414 414
415 purple_signal_emit(purple_notify_get_handle(), "displaying-userinfo", 415 purple_signal_emit(purple_notify_get_handle(), "displaying-userinfo",
416 purple_connection_get_account(gc), who, user_info); 416 purple_connection_get_account(gc), who, user_info);
417 417
418 g_return_val_if_fail(g_utf8_validate(who, -1, NULL), NULL); //yaz
419 g_return_val_if_fail(g_utf8_validate(user_info, -1, NULL), NULL); //yaz
420
418 ui_handle = ops->notify_userinfo(gc, who, user_info); 421 ui_handle = ops->notify_userinfo(gc, who, user_info);
419 422
420 if (ui_handle != NULL) { 423 if (ui_handle != NULL) {
421 424
422 PurpleNotifyInfo *info = g_new0(PurpleNotifyInfo, 1); 425 PurpleNotifyInfo *info = g_new0(PurpleNotifyInfo, 1);