summaryrefslogtreecommitdiff
path: root/clutter/clutter-timeline.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-11-07 15:57:33 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-11-17 16:19:10 +0000
commit68d7a5e84721966686fb066c8b62041f0889a07a (patch)
tree9d242cb2a04703865db0176a90315b3bf16bc855 /clutter/clutter-timeline.h
parent8b047d0bc963389109486388ce5051a6a06d0994 (diff)
downloadclutter-68d7a5e84721966686fb066c8b62041f0889a07a.tar.gz
Move away from GTimeVal
GLib 2.28 will deprecate GTimeVal and related API in favour of standardizing on microseconds granularity for all time-based API. Clutter should switch too. All of the current users of GTimeVal convert to milliseconds when doing time operations, and use GTimeVal only as storage. This can effectively be replaced by a gint64. The Master Clock uses a microsecond resolution, except when interacting with the main loop itself, since the main loop has a millisecond resolution - at least until Ryan Lortie manages to switch that too to microseconds on Linux. The clutter_timeline_do_tick() function was erroneously not privatized, but it was still assumed to be private; we should just remove it from the public symbols.
Diffstat (limited to 'clutter/clutter-timeline.h')
-rw-r--r--clutter/clutter-timeline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clutter/clutter-timeline.h b/clutter/clutter-timeline.h
index f3ab6247f..056d79a47 100644
--- a/clutter/clutter-timeline.h
+++ b/clutter/clutter-timeline.h
@@ -154,8 +154,8 @@ void clutter_timeline_advance_to_marker (ClutterTimeline *timeli
const gchar *marker_name);
/*< private >*/
-void clutter_timeline_do_tick (ClutterTimeline *timeline,
- GTimeVal *tick_time);
+void _clutter_timeline_do_tick (ClutterTimeline *timeline,
+ gint64 tick_time);
G_END_DECLS