GNOME Bugzilla – Bug 709056
icontheme: use g_file_load_contents() for symbolic icons
Last modified: 2013-09-30 16:46:50 UTC
See attached patch.
Created attachment 256042 [details] [review] icontheme: use g_file_load_contents() for symbolic icons When loading a symbolic icon, g_file_get_contents() is currently used with the icon pathname, to load its SVG data. This won't work when the icon is not a local file, for instance when a symbolic icon is loaded from a GFileIcon with a GResource path. Fortunately GtkIconInfo already holds a GFile, so we can just use g_file_load_contents() to load the data instead.
Review of attachment 256042 [details] [review]: Looks fine
Attachment 256042 [details] pushed as 3d602f5 - icontheme: use g_file_load_contents() for symbolic icons