[glib] Drop GTimeSpec type



commit 92df8a1d7766dbb51d84c0373daa77eb1cce3a18
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Nov 1 15:47:29 2010 -0400

    Drop GTimeSpec type

 docs/reference/glib/glib-sections.txt |    1 -
 glib/gmain.c                          |   10 ----------
 glib/gtypes.h                         |    8 --------
 3 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt
index e3d4d59..113d595 100644
--- a/docs/reference/glib/glib-sections.txt
+++ b/docs/reference/glib/glib-sections.txt
@@ -1321,7 +1321,6 @@ g_time_val_from_iso8601
 g_time_val_to_iso8601
 
 <SUBSECTION>
-GTimeSpec
 g_get_monotonic_time
 
 <SUBSECTION>
diff --git a/glib/gmain.c b/glib/gmain.c
index 3194c37..9468e68 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -1814,16 +1814,6 @@ g_get_current_time (GTimeVal *result)
 }
 
 /**
- * GTimeSpec:
- *
- * Represents a precise time, with seconds and nanoseconds.  This is
- * similar to POSIX <structname>struct timespec</structname>.  This
- * structure can be filled in with g_get_monotonic_time().
- *
- * Since: 2.28
- **/
-
-/**
  * g_get_monotonic_time:
  *
  * Queries the system monotonic time, if available.
diff --git a/glib/gtypes.h b/glib/gtypes.h
index 0b843c6..65c00f7 100644
--- a/glib/gtypes.h
+++ b/glib/gtypes.h
@@ -424,14 +424,6 @@ struct _GTimeVal
   glong tv_usec;
 };
 
-typedef struct _GTimeSpec               GTimeSpec;
-
-struct _GTimeSpec
-{
-  time_t tv_sec;
-  glong  tv_nsec;
-};
-
 G_END_DECLS
 
 /* We prefix variable declarations so they can



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