Changeset 9194
- Timestamp:
- Sep 27, 2009, 5:47:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/icons.c
r8891 r9194 10 10 11 11 #ifdef HAVE_GIO 12 #if GTK_CHECK_VERSION( 2, 12, 0 ) 13 #define USE_GIO_ICONS 14 #endif 15 #endif 16 17 #ifdef USE_GIO_ICONS 12 18 #include <gio/gio.h> 13 19 #endif … … 15 21 #define VOID_PIXBUF_KEY "void-pixbuf" 16 22 17 #ifdef HAVE_GIO23 #ifdef USE_GIO_ICONS 18 24 static const char * 19 25 get_static_string( const char *s ) … … 91 97 } 92 98 93 #ifdef HAVE_GIO99 #ifdef USE_GIO_ICONS 94 100 static const char * 95 101 _icon_cache_get_icon_key( GIcon * icon ) … … 216 222 } 217 223 218 #else /* HAVE_GIO*/224 #else /* USE_GIO_ICONS */ 219 225 220 226 static GdkPixbuf * … … 276 282 get_mime_type_from_filename( const char * file G_GNUC_UNUSED ) 277 283 { 278 #ifdef HAVE_GIO284 #ifdef USE_GIO_ICONS 279 285 char * tmp = g_content_type_guess( file, NULL, 0, NULL ); 280 286 const char * ret = get_static_string( tmp );
Note: See TracChangeset
for help on using the changeset viewer.