Try to load a pixbuf from a source string.
The source could be an abolute path, an icon name or a filename that points to a file in the pixmaps directory.
This function is particularly usefull for loading names from the Icon key of desktop files.
The pixbuf is never bigger than dest_width and dest_height. If it is when loaded from the disk, the pixbuf is
scaled preserving the aspect ratio.
| source |
string that contains the location of an icon |
| icon_theme |
icon theme or null to use the default icon theme |
| dest_width |
the maximum returned width of the GdkPixbuf |
| dest_height |
the maximum returned height of the GdkPixbuf |
|
a GdkPixbuf or null if nothing was found. The value should be released with g_object_unref when no longer used. See also: XfcePanelImage |