mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-08 18:36:17 +01:00
gmain: Add deprecation ignore guards around other GTimeVal usage
Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1438
This commit is contained in:
parent
fe760ba442
commit
ec0cc39de0
@ -4415,12 +4415,14 @@ g_main_context_remove_poll_unlocked (GMainContext *context,
|
||||
*
|
||||
* Deprecated: 2.28: use g_source_get_time() instead
|
||||
**/
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
void
|
||||
g_source_get_current_time (GSource *source,
|
||||
GTimeVal *timeval)
|
||||
{
|
||||
g_get_current_time (timeval);
|
||||
}
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
/**
|
||||
* g_source_get_time:
|
||||
|
Loading…
Reference in New Issue
Block a user