Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 556518
Collapse All | Expand All

(-)src/Canvas.cpp (-12 / +12 lines)
Lines 760-765 Link Here
760
}
760
}
761
#endif
761
#endif
762
762
763
inline uint64_t
764
get_monotonic_time()
765
{
766
#if GLIB_CHECK_VERSION(2, 28, 0)
767
	return g_get_monotonic_time();
768
#else
769
	GTimeVal time;
770
	g_get_current_time(&time);
771
	return time.tv_sec + time.tv_usec;
772
#endif
773
}
774
763
#ifdef GANV_FDGL
775
#ifdef GANV_FDGL
764
776
765
inline Region
777
inline Region
Lines 788-805 Link Here
788
	b->impl->force = vec_sub(b->impl->force, f);
800
	b->impl->force = vec_sub(b->impl->force, f);
789
}
801
}
790
802
791
inline uint64_t
792
get_monotonic_time()
793
{
794
#if GLIB_CHECK_VERSION(2, 28, 0)
795
	return g_get_monotonic_time();
796
#else
797
	GTimeVal time;
798
	g_get_current_time(&time);
799
	return time.tv_sec + time.tv_usec;
800
#endif
801
}
802
803
gboolean
803
gboolean
804
GanvCanvasImpl::layout_iteration()
804
GanvCanvasImpl::layout_iteration()
805
{
805
{

Return to bug 556518