seahorse r2664 - in trunk: . pkcs11



Author: sadam
Date: Mon Dec 15 04:19:26 2008
New Revision: 2664
URL: http://svn.gnome.org/viewvc/seahorse?rev=2664&view=rev

Log:
2008-12-14  Adam Schreiber  <sadam clemson edu>

    * pkcs11/seahorse-pkcs11-object.c: Fix compiler error


Modified:
   trunk/ChangeLog
   trunk/pkcs11/seahorse-pkcs11-object.c

Modified: trunk/pkcs11/seahorse-pkcs11-object.c
==============================================================================
--- trunk/pkcs11/seahorse-pkcs11-object.c	(original)
+++ trunk/pkcs11/seahorse-pkcs11-object.c	Mon Dec 15 04:19:26 2008
@@ -410,8 +410,8 @@
 	/* TODO: This whole ID thing needs rethinking */
 	
 	text = g_strdup_printf("%s:%lu/%lu", SEAHORSE_PKCS11_TYPE_STR, 
-	                       gp11_slot_get_handle (object->slot),
-	                       gp11_object_get_handle (object));
+                                         gp11_slot_get_handle (seahorse_pkcs11_source_get_slot (SEAHORSE_PKCS11_SOURCE (seahorse_object_get_source (SEAHORSE_OBJECT (object))))),
+                                         gp11_object_get_handle (object));
 	
 	quark = g_quark_from_string (text);
 	g_free (text);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]