mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
gtktoolitemgroup: Update to new Glib api
Also, bump required Glib version to 2.27.3 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634882 Signed-off-by: Javier Jardón <jjardon@gnome.org>
This commit is contained in:
parent
513befc4f2
commit
f03eca7b1d
@ -31,7 +31,7 @@ m4_define([gtk_api_version], [2.0])
|
||||
m4_define([gtk_binary_version], [2.10.0])
|
||||
|
||||
# required versions of other packages
|
||||
m4_define([glib_required_version], [2.25.10])
|
||||
m4_define([glib_required_version], [2.27.3])
|
||||
m4_define([pango_required_version], [1.20])
|
||||
m4_define([atk_required_version], [1.29.2])
|
||||
m4_define([cairo_required_version], [1.6])
|
||||
|
@ -1754,10 +1754,8 @@ gtk_tool_item_group_set_header_relief (GtkToolItemGroup *group,
|
||||
static gint64
|
||||
gtk_tool_item_group_get_animation_timestamp (GtkToolItemGroup *group)
|
||||
{
|
||||
GTimeVal now;
|
||||
|
||||
g_source_get_current_time (group->priv->animation_timeout, &now);
|
||||
return (now.tv_sec * G_USEC_PER_SEC + now.tv_usec - group->priv->animation_start) / 1000;
|
||||
return (g_source_get_time (group->priv->animation_timeout) -
|
||||
group->priv->animation_start) / 1000;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user