Blob Blame History Raw
--- trunk/pkcs11/seahorse-pkcs11-object.c	2008/12/15 04:19:26	2664
+++ trunk/pkcs11/seahorse-pkcs11-object.c	2008/12/16 03:37:55	2671
@@ -410,7 +410,7 @@
 	/* 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_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);