[glib: 10/26] gmain: Add deprecation ignore guards around other GTimeVal usage



commit ec0cc39de0e10a02d0b0157a2e7bb06a8e896139
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Jun 18 12:41:11 2019 +0100

    gmain: Add deprecation ignore guards around other GTimeVal usage
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    Helps: #1438

 glib/gmain.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index 2bfab29b8..90b12411d 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]