Mercurial > pidgin.yaz
changeset 14019:19a1812e6c46
[gaim-migrate @ 16615]
Fix a crash.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 02 Aug 2006 06:24:38 +0000 |
parents | 35699556075f |
children | 13e7ba964993 |
files | console/gntrequest.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/console/gntrequest.c Wed Aug 02 06:22:33 2006 +0000 +++ b/console/gntrequest.c Wed Aug 02 06:24:38 2006 +0000 @@ -158,7 +158,8 @@ gpointer data = g_object_get_data(G_OBJECT(button), "activate-userdata"); int id = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(button), "activate-id")); - callback(data, id); + if (callback) + callback(data, id); gaim_request_close(GAIM_REQUEST_ACTION, window); }