Re: [PATCH] Use desktop icon from theme
- From: Alexander Larsson <alexl redhat com>
- To: Luca Ferretti <elle uca libero it>
- Cc: Nautilus <nautilus-list gnome org>
- Subject: Re: [PATCH] Use desktop icon from theme
- Date: 13 Oct 2003 15:42:24 +0200
On Sat, 2003-10-11 at 21:58, Luca Ferretti wrote:
> Notes:
> * this patch use 48 pixel but it seems that the.... the....
> "switcher appearing when you use Alt-Tab" uses a smaller size
> :-|
> * the gnome_icon_theme_lookup_icon func seems undocumented in
> gtk-doc, so I hope it's the proper way to use it :-X
>
> PS: I forgot to remove nautilus-desktop.png from Makefile.am :-(
+ icon_theme = gnome_icon_theme_new ();
This creates a totally new icon theme, which is pretty slow. You should
use nautilus_icon_factory_get_icon_theme() instead.
+ g_free (icon_theme);
This isn't right, since it wasn't allocated with g_malloc. You need to
use g_object_unref().
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a lounge-singing one-eyed assassin with a robot buddy named Sparky. She's
a cosmopolitan motormouth cab driver on the trail of a serial killer. They
fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]