Thu, 07 Aug 2025 21:34:33 -0500
Replace Purple.Avatar with Purple.Image
Purple.Avatar was unnecessary and this just moves everything to Purple.Image
which should work just fine.
Testing Done:
Loaded a demo account and verified that the avatars were shown in the contact list properly. Also called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/4084/
PROGS = [ 'account', 'account_option', 'account_manager', 'attachment', 'attachments', 'authorization_request', 'badge', 'badge_manager', 'badges', 'channel_join_details', 'create_conversation_details', 'command', 'commands', 'command_manager', 'contact', 'contact_info', 'contact_manager', 'conversation', 'conversation_manager', 'conversation_member', 'conversation_members', 'credential_manager', 'credential_provider', 'file_transfer', 'file_transfer_manager', 'history_adapter', 'history_manager', 'idle_manager', 'keyvaluepair', 'markup', 'menu', 'message', 'messages', 'notification', 'notification_add_contact', 'notification_authorization_request', 'notification_link', 'notification_manager', 'person', 'presence', 'presence_manager', 'protocol', 'protocol_contacts', 'protocol_conversation', 'protocol_file_transfer', 'protocol_manager', 'protocol_roster', 'purplepath', 'request_field', 'request_group', 'request_page', 'saved_presence', 'scheduled_task', 'scheduler', 'str', 'tags', 'util', 'whiteboard_manager', 'xmlnode', ] test_ui = static_library( 'test-ui', 'test_ui.c', 'test_ui.h', c_args: [ '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()), '-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-TestUI"', ], dependencies: [libpurple_dep, glib] ) testenv.set('XDG_CONFIG_HOME', meson.current_build_dir() / 'config') testenv.set('G_ENABLE_DIAGNOSTIC', '1') foreach prog : PROGS e = executable(f'test_@prog@', f'test_@prog@.c', c_args : [ '-DTEST_CACHE_DIR="@0@/cache"'.format(meson.current_build_dir()), ], dependencies : [libpurple_dep, glib], link_with: test_ui, ) test(prog, e, env: testenv, ) endforeach subdir('image')