diff options
author | Kalev Lember <kalevlember@gmail.com> | 2012-11-28 23:25:52 +0100 |
---|---|---|
committer | Kalev Lember <kalevlember@gmail.com> | 2012-11-28 23:25:52 +0100 |
commit | ce586ba991967b1a663a9082312a45725da6fe5b (patch) | |
tree | a70126066a29e48ee5f588134e74783aaf118cc3 /gio/glocalfileinfo.c | |
parent | c9affa778e14e7dc44221fa678963e09df744f32 (diff) | |
download | glib-ce586ba991967b1a663a9082312a45725da6fe5b.tar.gz |
Unconditionally use g_content_type_get_symbolic_icon()
... and g_content_type_get_generic_icon_name(). The new functions are
implemented for Win32 since commit dace477c, so we no longer need to
guard them with G_OS_UNIX.
Diffstat (limited to 'gio/glocalfileinfo.c')
-rw-r--r-- | gio/glocalfileinfo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c index 9c974953c..9cfa041bf 100644 --- a/gio/glocalfileinfo.c +++ b/gio/glocalfileinfo.c @@ -1535,11 +1535,9 @@ get_icon (const char *path, } else { -#ifdef G_OS_UNIX if (use_symbolic) icon = g_content_type_get_symbolic_icon (content_type); else -#endif icon = g_content_type_get_icon (content_type); if (G_IS_THEMED_ICON (icon) && is_folder) |