# HG changeset patch # User Sadrul Habib Chowdhury # Date 1154499878 0 # Node ID 19a1812e6c46ca6ade95266d4173efe03002efed # Parent 35699556075f23364160f12eada83954e37076f8 [gaim-migrate @ 16615] Fix a crash. committer: Tailor Script diff -r 35699556075f -r 19a1812e6c46 console/gntrequest.c --- 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); }