Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 76127 | Differences between
and this patch

Collapse All | Expand All

(-)1.0.7.orig/gyach/src/animations.c (-1 / +5 lines)
Lines 46-55 Link Here
46
46
47
	if (myimage && anim) {
47
	if (myimage && anim) {
48
		buf=gdk_pixbuf_animation_get_static_image(anim);
48
		buf=gdk_pixbuf_animation_get_static_image(anim);
49
		g_object_ref(anim);  /****** Mick - fix segfault ****/
49
		if (buf)  {
50
		if (buf)  {
51
			g_object_ref(buf);  /****** Mick - fix segfulat ******/
50
			gtk_image_set_from_pixbuf(myimage, buf);
52
			gtk_image_set_from_pixbuf(myimage, buf);
51
			running_animations--;
53
			running_animations--;
52
			if (running_animations<0) {running_animations=0;}
54
			if (running_animations<0){
55
				running_animations=0;
56
			}
53
			g_object_unref( buf );
57
			g_object_unref( buf );
54
					}
58
					}
55
		g_object_unref(anim);
59
		g_object_unref(anim);

Return to bug 76127