diff src/gtkconv.c @ 6016:1e4a574bb46d

[gaim-migrate @ 6466] Removed move of the #if 0'ed code from gtkprefs.c. I think Chip or Nathan or whoever left this here so that they could go back later and make sure all the old #if 0'ed stuff works correctly with the new prefs, so to reassure whoever did that, I've been verifying that all these prefs work as they should. Made the "use server alias" checkbox instantly affect conversation titles. Fixed a crash caused by trying to enable buddy icon animation for static images which happened after toggling the "enable buddy icon animation" preference to the O-N positiO-N. All you people need to hop on the bug fix bandwagon. It's happy hour. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 04 Jul 2003 19:12:06 +0000
parents 225902daab80
children 54c37db13279
line wrap: on
line diff
--- a/src/gtkconv.c	Fri Jul 04 15:58:03 2003 +0000
+++ b/src/gtkconv.c	Fri Jul 04 19:12:06 2003 +0000
@@ -4920,6 +4920,9 @@
 
 	gtkconv = GAIM_GTK_CONVERSATION(conv);
 
+	if (gdk_pixbuf_animation_is_static_image(gtkconv->u.im->anim))
+		return;
+
 	delay = gdk_pixbuf_animation_iter_get_delay_time(gtkconv->u.im->iter) / 10;
 
 	if (gtkconv->u.im->anim)