Commit fa98a36a authored by Bruno Coudoin's avatar Bruno Coudoin

fixed pixmap unref too early

svn path=/branches/gcomprixogoo/; revision=3601
parent 2d32c11c
......@@ -170,10 +170,10 @@ void gc_bar_start (GooCanvas *theCanvas)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment