mirror of
https://github.com/transmission/transmission
synced 2024-12-30 19:46:56 +00:00
18 lines
474 B
C
18 lines
474 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"
|
||
|
|
||
|
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
|