Bug 551752

Summary: [GTK3] Replace deprecated GTimeVal functions and arguments
Product: [Eclipse Project] Platform Reporter: Eric Williams <ericwill>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: alexandr.miloslavskiy
Version: 4.14Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=570283
https://bugs.eclipse.org/bugs/show_bug.cgi?id=570178
Whiteboard:
Bug Depends on:    
Bug Blocks: 502193    

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()