Use GdkTexture to wrap GdkPixbuf

Review Request #3537 — Created Sept. 27, 2024 and submitted

Information

pidgin/pidgin
default

Reviewers

This fixes the deprecations with using GdkPixbuf for GtkImage or GtkImage.

Also remove the duplicate setting of the content-fit property.

Compiled only, mostly, as I don't think anything sets avatars yet. But did run with valgrind and check Demo protocol Request Fields, as well as Accounts window.

Summary ID
Use GdkTexture to wrap GdkPixbuf
This fixes the deprecations with using `GdkPixbuf` for `GtkImage` or `GtkImage. Also remove the duplicate setting of the `content-fit` property.
9a72ae7c703e09dd29ec1e4856f8ff39e0e39199
Description From Last Updated

Filename is only used in this scope, we should probably move it here to avoid unnecessary allocations.

grimgrim
grim
  1. 
      
  2. pidgin/pidginaccounteditor.c (Diff revision 1)
     
     
    Show all issues

    Filename is only used in this scope, we should probably move it here to avoid unnecessary allocations.

  3. 
      
QuLogic
grim
  1. Awesome work, thank you so very much!!

  2. 
      
grim
Review request changed
Status:
Completed