Mercurial > pidgin
changeset 32560:c1daad7121f8
Fix a small typo and add a cast.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 26 Feb 2012 05:49:17 +0000 |
parents | 32642aa8dbe5 |
children | be0162cb27c4 3c420b12a034 |
files | pidgin/gtkrequest.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkrequest.c Sun Feb 26 05:34:08 2012 +0000 +++ b/pidgin/gtkrequest.c Sun Feb 26 05:49:17 2012 +0000 @@ -1214,7 +1214,7 @@ cert = purple_request_field_certificate_get_value(field); #ifdef ENABLE_GCR - der = purple_certificate_get_der_data(crt); + der = purple_certificate_get_der_data(cert); g_return_val_if_fail(der, NULL); gcrt = gcr_simple_certificate_new(der->data, der->len); @@ -1225,7 +1225,7 @@ g_byte_array_free(der, TRUE); g_object_unref(G_OBJECT(gcrt)); - return cert_widget; + return GTK_WIDGET(cert_widget); #else str = purple_certificate_get_display_string(cert); escaped = g_markup_escape_text(str, -1);