changeset 3129:6006cc902d62

[gaim-migrate @ 3144] The words of the prophets are written on the subway walls and tenement halls. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 04 Apr 2002 20:11:25 +0000
parents 8249e2c4b7ed
children 16c2ad1a15ce
files src/conversation.c
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Apr 04 03:06:26 2002 +0000
+++ b/src/conversation.c	Thu Apr 04 20:11:25 2002 +0000
@@ -3252,11 +3252,13 @@
 		gdk_gc_set_clip_mask(gc, bm);
 
 		gdk_gc_set_clip_origin(gc, gdk_pixbuf_frame_get_x_offset(frame) *
-				       SCALE(c->anim)/gdk_pixbuf_get_width(scale),  
-				       gdk_pixbuf_frame_get_y_offset(frame));   
+				       SCALE(c->anim)/gdk_pixbuf_animation_get_width(c->anim),  
+				       gdk_pixbuf_frame_get_y_offset(frame) *
+				       SCALE(c->anim)/gdk_pixbuf_animation_get_height(c->anim));   
 		gdk_draw_pixmap(pm, gc, src, 0, 0, gdk_pixbuf_frame_get_x_offset(frame)*
-				SCALE(c->anim)/gdk_pixbuf_get_width(scale),
-				gdk_pixbuf_frame_get_y_offset(frame),-1,-1);
+				SCALE(c->anim)/gdk_pixbuf_animation_get_width(c->anim),
+				gdk_pixbuf_frame_get_y_offset(frame) * 
+				SCALE(c->anim)/gdk_pixbuf_animation_get_height(c->anim),-1,-1);
 		
 		gdk_pixmap_unref(src);
 		if (bm)