mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Don't double the delay time of the first frame. (#431997, Björn
2007-04-25 Matthias Clasen <mclasen@redhat.com> * gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame): Don't double the delay time of the first frame. (#431997, Björn Lindqvist) svn path=/trunk/; revision=17634
This commit is contained in:
parent
f614fed858
commit
75efa95acb
@ -1,3 +1,9 @@
|
||||
2007-04-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
|
||||
Don't double the delay time of the first frame. (#431997,
|
||||
Björn Lindqvist)
|
||||
|
||||
2007-04-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk-pixbuf-scaled-anim.c (gdk_pixbuf_scaled_anim_iter_finalize):
|
||||
|
@ -426,7 +426,7 @@ gdk_pixbuf_simple_anim_add_frame (GdkPixbufSimpleAnim *animation,
|
||||
g_return_if_fail (animation != NULL);
|
||||
g_return_if_fail (pixbuf != NULL);
|
||||
|
||||
nframe = g_list_length (animation->frames) + 1;
|
||||
nframe = g_list_length (animation->frames);
|
||||
|
||||
frame = g_new0 (GdkPixbufFrame, 1);
|
||||
frame->delay_time = (gint) (1000 / animation->rate);
|
||||
|
Loading…
Reference in New Issue
Block a user