pidgin: 78f2facd: Fix a small typo and add a cast.
qulogic at pidgin.im
qulogic at pidgin.im
Mon Feb 27 18:12:04 EST 2012
----------------------------------------------------------------------
Revision: 78f2facd08a9b906e2ab5491bb828763c80ea46a
Parent: 038a9af81c0f61c8fa276b653cfae773cfc5d325
Author: qulogic at pidgin.im
Date: 02/26/12 00:49:17
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/78f2facd08a9b906e2ab5491bb828763c80ea46a
Changelog:
Fix a small typo and add a cast.
Changes against parent 038a9af81c0f61c8fa276b653cfae773cfc5d325
patched pidgin/gtkrequest.c
-------------- next part --------------
============================================================
--- pidgin/gtkrequest.c 44ba26e221c280b8edba49212636bb325d331d1d
+++ pidgin/gtkrequest.c 63045cad04c4ae4f4aeb8ad5ac68486d914018f7
@@ -1214,7 +1214,7 @@ create_certificate_field(PurpleRequestFi
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 @@ create_certificate_field(PurpleRequestFi
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);
More information about the Commits
mailing list