Ignore:
Timestamp:
Apr 10, 2009, 5:44:17 PM (13 years ago)
Author:
charles
Message:

(1.5x gtk) minor backports:
(1) remove dead code
(2) minor improvements to the filterbar buttons
(3) various minor formatting changes to reduce the diffs between 1.52 and trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5x/gtk/util.c

    r8165 r8205  
    570570        if( !opened )
    571571        {
    572             char * argv[] = { "xdg-open", (char*)path, NULL };
     572            char * argv[] = { (char*)"xdg-open", (char*)path, NULL };
    573573            g_spawn_async( NULL, argv, NULL, G_SPAWN_SEARCH_PATH,
    574574                           NULL, NULL, NULL, NULL );
     
    657657
    658658guint
    659 gtr_timeout_add_seconds( guint        interval,
    660                          GSourceFunc  function,
    661                          gpointer     data )
     659gtr_timeout_add_seconds( guint seconds, GSourceFunc function, gpointer data )
    662660{
    663661#if GLIB_CHECK_VERSION( 2,14,0 )
    664     return g_timeout_add_seconds( interval, function, data );
     662    return g_timeout_add_seconds( seconds, function, data );
    665663#else
    666     return g_timeout_add( interval*1000, function, data );
     664    return g_timeout_add( seconds*1000, function, data );
    667665#endif
    668666}
Note: See TracChangeset for help on using the changeset viewer.