Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
win32: add missing g_content_type_get_symbolic_icon and
Browse files Browse the repository at this point in the history
g_content_type_get_generic_con_name  definitions
  • Loading branch information
dieterv committed Nov 15, 2012
1 parent 064d59d commit fea142f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions gio/gio.symbols
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,8 @@ g_content_type_is_unknown
g_content_type_get_description
g_content_type_get_mime_type
g_content_type_get_icon
#ifdef G_OS_UNIX
g_content_type_get_symbolic_icon
g_content_type_get_generic_icon_name
#endif
g_content_type_can_be_executable
g_content_type_from_mime_type
g_content_type_guess
Expand Down
2 changes: 0 additions & 2 deletions gio/glocalfileinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1534,11 +1534,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)
Expand Down

0 comments on commit fea142f

Please sign in to comment.