--- a/libpurple/purpleattachment.h Thu Jan 16 21:24:08 2025 -0600 +++ b/libpurple/purpleattachment.h Thu Jan 16 21:25:32 2025 -0600 @@ -58,7 +58,7 @@ * Since: 3.0 */ PURPLE_AVAILABLE_IN_3_0 -PurpleAttachment *purple_attachment_new(guint64 id, const char *content_type); +PurpleAttachment *purple_attachment_new(const char *id, const char *content_type); /** * purple_attachment_equal: @@ -87,22 +87,7 @@ * Since: 3.0 */ PURPLE_AVAILABLE_IN_3_0 -guint64 purple_attachment_get_id(PurpleAttachment *attachment); - -/** - * purple_attachment_get_hash_key: - * @attachment: The #PurpleAttachment instance. - * - * Gets the hash key of @attachment. This should only be used when - * trying to address a #PurpleAttachment in a #GHashTable that is using - * g_int64_hash() as the key function. - * - * Returns: (transfer none): The hash key of @attachment. - * - * Since: 3.0 - */ -PURPLE_AVAILABLE_IN_3_0 -guint64 *purple_attachment_get_hash_key(PurpleAttachment *attachment); +const char *purple_attachment_get_id(PurpleAttachment *attachment); /** * purple_attachment_set_id: @@ -114,7 +99,7 @@ * Since: 3.0 */ PURPLE_AVAILABLE_IN_3_0 -void purple_attachment_set_id(PurpleAttachment *attachment, guint64 id); +void purple_attachment_set_id(PurpleAttachment *attachment, const char *id); /** * purple_attachment_get_inline: