Bug 551752 - [GTK3] Replace deprecated GTimeVal functions and arguments
Summary: [GTK3] Replace deprecated GTimeVal functions and arguments
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.14   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 502193
  Show dependency tree
 
Reported: 2019-10-03 14:32 EDT by Eric Williams CLA
Modified: 2021-01-12 06:28 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Williams CLA 2019-10-03 14:32:38 EDT
GTimeVal has been deprecated in favour of GDateTime. There are deprecation warnings present in the SWT native build script when building on Fedora 31.

The affected functions where GTimeVal are used:

gdk_pixbuf_animation_get_iter()
gdk_pixbuf_animation_iter_advance()

Additionally, some GLib time related functions are deprecated:

g_time_val_add()
g_get_current_time()