Branch: Tag:

2010-07-31

2010-07-31 23:54:07 by Marcus Comstedt <marcus@mc.pp.se>

Actually, gdk_image_destroy() seems to be an alias for g_object_unref(), so we had a double unref here. Fixed that.

Rev: src/post_modules/GTK2/source/support.c:1.25

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: support.c,v 1.24 2010/07/31 23:35:36 marcus Exp $ + || $Id: support.c,v 1.25 2010/07/31 23:54:07 marcus Exp $   */      #include <version.h>
108:    i = *pi;    if (i != NULL && ((i->width!=x) || (i->height!=y))) {    g_object_unref(i); -  gdk_image_destroy(i); +     i=NULL;    }    } else