Re: Minor problems I found installing bootgpe2-pb10-h3600.jffs2

From: Philip Blundell <pb.a.t.nexus.co.uk>
Date: Tue Mar 11 2003 - 14:01:45 EST

On Thu, 2003-02-27 at 23:23, Robert Mibus wrote:
> (and yeah, I will get to that bug pb, but we'll need to chat someone
> about the "best" way to do it (basically, what happens when the user
> changes the zoom level afterwards))

I checked in this patch in the hopes of improving matters. By all means
pull it out again if you have a better idea.

p.

Index: gpeiconlist.gob
===================================================================
RCS file: /cvs/gpe/base/libgpewidget/gpeiconlist.gob,v
retrieving revision 1.12
diff -u -r1.12 gpeiconlist.gob
--- gpeiconlist.gob 4 Jan 2003 05:29:27 -0000 1.12
+++ gpeiconlist.gob 9 Mar 2003 17:21:36 -0000
@@ -275,6 +275,10 @@
                                         if (icon->pb == NULL)
                                                 icon->pb = gdk_pixbuf_new_from_file (icon->icon, NULL);
                                         gpe_iconlist__check_icon_size (il, icon);
+ if (icon->icon) {
+ gdk_pixbuf_unref (icon->pb);
+ icon->pb = NULL;
+ }
                                         pixbuf = icon->pb_scaled;
                                 }
 
Received on Tue Mar 11 19:01:57 2003

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:31 EDT