diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt index e3d4d591e..113d59513 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 -GTimeSpec g_get_monotonic_time diff --git a/glib/gmain.c b/glib/gmain.c index 3194c3777..9468e6837 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -1813,16 +1813,6 @@ g_get_current_time (GTimeVal *result) #endif } -/** - * GTimeSpec: - * - * Represents a precise time, with seconds and nanoseconds. This is - * similar to POSIX struct timespec. This - * structure can be filled in with g_get_monotonic_time(). - * - * Since: 2.28 - **/ - /** * g_get_monotonic_time: * diff --git a/glib/gtypes.h b/glib/gtypes.h index 0b843c6a3..65c00f71f 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