Use g_task_set_source_tag on all of our async methods

Review Request #2955 — Created Feb. 17, 2024 and submitted

Information

pidgin/pidgin
default

Reviewers

This is supposed to help with debugging and profiling per the docs for
g_task_set_name, which is automatically called by g_task_set_source_tag in
glib >= 2.76.0 which is our minimum requirement.

Consulted with the turtles

Summary ID
Use g_task_set_source_tag on all of our async methods
This is supposed to help with debugging and profiling per the docs for g_task_set_name, which is automatically called by g_task_set_source_tag in glib >= 2.76.0 which is our minimum requirement.
ab7924c938392f9b0975372f8868e30caaa0d592
Description From Last Updated

Does the name get set correctly here? Or does it stringify to "(gpointer)purple_kwallet_read_password_async"?

QuLogicQuLogic
QuLogic
  1. 
      
  2. Does the name get set correctly here? Or does it stringify to "(gpointer)purple_kwallet_read_password_async"?

    1. that's a great question, I need to look into that...

    2. (pidgin3:1120247): Purple-KWalletKeyring-WARNING **: 20:28:13.482: source name: '(gpointer)purple_kwallet_read_password_async'
      

      Manually setting the name ahead of time avoids the issue.

  3. 
      
grim
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...