Drop GTimeSpec type
authorRyan Lortie <desrt@desrt.ca>
Mon, 1 Nov 2010 19:47:29 +0000 (15:47 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 3 Nov 2010 02:39:09 +0000 (22:39 -0400)
docs/reference/glib/glib-sections.txt
glib/gmain.c
glib/gtypes.h

index e3d4d59..113d595 100644 (file)
@@ -1321,7 +1321,6 @@ g_time_val_from_iso8601
 g_time_val_to_iso8601
 
 <SUBSECTION>
-GTimeSpec
 g_get_monotonic_time
 
 <SUBSECTION>
index 3194c37..9468e68 100644 (file)
@@ -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.
index 0b843c6..65c00f7 100644 (file)
@@ -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