Code cleanup
This commit is contained in:
parent
da43e3df78
commit
b651398e0b
|
@ -106,10 +106,10 @@ static GdkPixbuf * _mime_icon_emblem(GdkPixbuf * pixbuf, int size,
|
||||||
GdkPixbuf * epixbuf;
|
GdkPixbuf * epixbuf;
|
||||||
GtkIconTheme * icontheme;
|
GtkIconTheme * icontheme;
|
||||||
#if GTK_CHECK_VERSION(2, 14, 0)
|
#if GTK_CHECK_VERSION(2, 14, 0)
|
||||||
const int flags = GTK_ICON_LOOKUP_USE_BUILTIN
|
const unsigned int flags = GTK_ICON_LOOKUP_USE_BUILTIN
|
||||||
| GTK_ICON_LOOKUP_FORCE_SIZE;
|
| GTK_ICON_LOOKUP_FORCE_SIZE;
|
||||||
#else
|
#else
|
||||||
const int flags = GTK_ICON_LOOKUP_USE_BUILTIN;
|
const unsigned int flags = GTK_ICON_LOOKUP_USE_BUILTIN;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* work on a copy */
|
/* work on a copy */
|
||||||
|
@ -169,7 +169,7 @@ static GdkPixbuf * _mime_icon_folder(Mime * mime, char const * filename,
|
||||||
{ "Videos", "folder-videos" },
|
{ "Videos", "folder-videos" },
|
||||||
};
|
};
|
||||||
GtkIconTheme * icontheme;
|
GtkIconTheme * icontheme;
|
||||||
const int flags = GTK_ICON_LOOKUP_FORCE_SIZE;
|
const unsigned int flags = GTK_ICON_LOOKUP_FORCE_SIZE;
|
||||||
|
|
||||||
if(lst == NULL && browser_vfs_lstat(filename, &ls) == 0)
|
if(lst == NULL && browser_vfs_lstat(filename, &ls) == 0)
|
||||||
lst = &ls;
|
lst = &ls;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user