diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2013-07-14 17:14:53 -0700 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2013-07-14 17:14:53 -0700 |
commit | 834a3f2151dd8738a1f878489f6207664c4af5aa (patch) | |
tree | e67d9dab64d86be62c4c785100339ebb69bf0b99 /src/icons.h |
Imported Upstream version 1.1.1upstream/1.1.1
Diffstat (limited to 'src/icons.h')
-rw-r--r-- | src/icons.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/icons.h b/src/icons.h new file mode 100644 index 0000000..1f9088a --- /dev/null +++ b/src/icons.h @@ -0,0 +1,21 @@ +/* + * icons.[ch] written by Paolo Bacchilega, who writes: + * "There is no problem for me, you can license + * my code under whatever licence you wish :)" + * + * $Id: icons.h 11709 2011-01-19 13:48:47Z jordan $ + */ + +#ifndef GTR_ICONS_H +#define GTR_ICONS_H + +#define DIRECTORY_MIME_TYPE "folder" +#define UNKNOWN_MIME_TYPE "unknown" + +const char *gtr_get_mime_type_from_filename(const char *file); + +GdkPixbuf *gtr_get_mime_type_icon(const char *mime_type, + GtkIconSize icon_size, + GtkWidget * for_widget); + +#endif |