(trunk gtk) remove dead code
This commit is contained in:
parent
65d5ec0c63
commit
42c2fccbfb
19
gtk/conf.c
19
gtk/conf.c
|
@ -336,25 +336,6 @@ pref_save( tr_session * session )
|
|||
****
|
||||
***/
|
||||
|
||||
#if !GLIB_CHECK_VERSION( 2, 8, 0 )
|
||||
static void
|
||||
tr_file_set_contents( const char * filename,
|
||||
const void * out,
|
||||
size_t len,
|
||||
GError* unused UNUSED )
|
||||
{
|
||||
FILE * fp = fopen( filename, "wb+" );
|
||||
|
||||
if( fp != NULL )
|
||||
{
|
||||
fwrite( out, 1, len, fp );
|
||||
fclose( fp );
|
||||
}
|
||||
}
|
||||
|
||||
#define g_file_set_contents tr_file_set_contents
|
||||
#endif
|
||||
|
||||
static char*
|
||||
getCompat090PrefsFilename( void )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue