mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
18 lines
510 B
C
18 lines
510 B
C
/*
|
|
* icons.[ch] written by Paolo Bacchilega, who writes:
|
|
* "There is no problem for me, you can license my code under whatever licence you wish :)"
|
|
*/
|
|
|
|
#ifndef ICONS_H
|
|
#define ICONS_H
|
|
|
|
#define DIRECTORY_MIME_TYPE "folder"
|
|
#define UNKNOWN_MIME_TYPE "unknown"
|
|
|
|
const char * get_mime_type_from_filename( const char *file );
|
|
|
|
GdkPixbuf * get_mime_type_icon( const char * mime_type,
|
|
GtkIconSize icon_size,
|
|
GtkWidget * for_widget );
|
|
|
|
#endif
|