gcompris r3601 - branches/gcomprixogoo/src/gcompris
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3601 - branches/gcomprixogoo/src/gcompris
- Date: Sat, 8 Nov 2008 23:29:28 +0000 (UTC)
Author: bcoudoin
Date: Sat Nov 8 23:29:27 2008
New Revision: 3601
URL: http://svn.gnome.org/viewvc/gcompris?rev=3601&view=rev
Log:
fixed pixmap unref too early
Modified:
branches/gcomprixogoo/src/gcompris/bar.c
Modified: branches/gcomprixogoo/src/gcompris/bar.c
==============================================================================
--- branches/gcomprixogoo/src/gcompris/bar.c (original)
+++ branches/gcomprixogoo/src/gcompris/bar.c Sat Nov 8 23:29:27 2008
@@ -170,10 +170,10 @@
0,
0,
NULL);
- gdk_pixbuf_unref(pixmap);
zoom = (double)(height-BAR_GAP)/(double)gdk_pixbuf_get_height(pixmap);
buttony = (height-gdk_pixbuf_get_height(pixmap)*zoom)/2 - 20;
+ gdk_pixbuf_unref(pixmap);
/*
* The Order in which buttons are created represents
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]