Changeset 9486 for trunk/gtk/tr-core.c


Ignore:
Timestamp:
Nov 7, 2009, 2:03:12 AM (13 years ago)
Author:
charles
Message:

(trunk gtk) fix a couple of build errors on older versions of GTK+

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-core.c

    r9290 r9486  
    459459}
    460460
     461static int
     462tr_strcmp( const void * a,
     463           const void * b )
     464{
     465    if( a && b ) return strcmp( a, b );
     466    if( a ) return 1;
     467    if( b ) return -1;
     468    return 0;
     469}
     470
    461471#ifdef HAVE_GIO
    462472
     
    596606        g_dir_close( dir );
    597607    }
    598 }
    599 
    600 static int
    601 tr_strcmp( const void * a,
    602            const void * b )
    603 {
    604     if( a && b ) return strcmp( a, b );
    605     if( a ) return 1;
    606     if( b ) return -1;
    607     return 0;
    608608}
    609609
Note: See TracChangeset for help on using the changeset viewer.