Add a purple_date_time API

Review Request #2962 — Created Feb. 20, 2024 and discarded

Information

pidgin/pidgin
default

Reviewers

This new API has helpers for setting and clearing GDateTime's.

Ran the unit tests under valgrind and verified the documentation by hand.

Summary ID
Add a purple_date_time API
This new API has helpers for setting and clearing GDateTime's.
578de5ccc29269fbf90405841b344dba453d12f8
grim
  1. 
      
  2. We do get the following warning, but it doesn't affect the build and we'll probably forget to add it later when we required gobject-introspection >= 1.80.

    ../libpurple/purpledatetime.h:38: Warning: Purple: invalid "not" annotation option: "optional"
    
  3. 
      
ivanhoe
  1. Ship It!
  2. 
      
grim
Review request changed
Status:
Discarded
Change Summary:

ivanhoe mentioned on discord that this makes more sense in birb and I agree, so I'll be moving it to there.