Changeset 4027
- Timestamp:
- Dec 1, 2007, 2:52:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/conf.c
r4026 r4027 256 256 ***/ 257 257 258 #if !GLIB_CHECK_VERSION(2,8,0) 259 static void 260 tr_file_set_contents( const char * filename, const void * out, size_t len, GError* unused UNUSED ) 261 { 262 FILE * fp = fopen( filename, "wb+" ); 263 if( fp != NULL ) { 264 fwrite( out, 1, len, fp ); 265 fclose( fp ); 266 } 267 } 268 #define g_file_set_contents tr_file_set_contents 269 #endif 270 258 271 static char* 259 272 getCompat08PrefsFilename( void )
Note: See TracChangeset
for help on using the changeset viewer.