Add an error property to PurpleMessage

Review Request #2234 — Created Feb. 10, 2023 and submitted

Information

pidgin/pidgin
default

Reviewers

There are a number of ways that an individual message can fail, and it would be
nice to let the user interface know that it failed, so that the user can attempt
to resend.

Ran the unit tests (that I just added)

Summary ID
Add an error property to PurpleMessage
There are a number of ways that an individual message can fail, and it would be nice to let the user interface know that it failed, so that the user can attempt to resend.
0791906229d03b4910c59693745f32f76fbb9e46
Description From Last Updated

Function header says message not instance.

ivanhoeivanhoe

unknown annotation: transfer-full

ivanhoeivanhoe

instance vs message

ivanhoeivanhoe

unknown annotation: transfer-none

ivanhoeivanhoe

Should null check error since g_propagate_error demands it to be non null.

ivanhoeivanhoe

error belongs to message and should not freed here.

ivanhoeivanhoe
ivanhoe
  1. 
      
  2. libpurple/purplemessage.h (Diff revision 1)
     
     

    Function header says message not instance.

  3. libpurple/purplemessage.h (Diff revision 1)
     
     

    unknown annotation: transfer-full

  4. libpurple/purplemessage.h (Diff revision 1)
     
     

    instance vs message

  5. libpurple/purplemessage.h (Diff revision 1)
     
     

    unknown annotation: transfer-none

  6. libpurple/purplemessage.c (Diff revision 1)
     
     

    Should null check error since g_propagate_error demands it to be non null.

  7. libpurple/tests/test_message.c (Diff revision 1)
     
     

    error belongs to message and should not freed here.

  8. 
      
grim
ivanhoe
  1. Ship It!
  2. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...