Changeset 8034 for trunk/gtk/util.c


Ignore:
Timestamp:
Mar 5, 2009, 5:18:36 PM (13 years ago)
Author:
charles
Message:

(trunk gtk) minor tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/util.c

    r8021 r8034  
    558558        if( !opened )
    559559        {
    560             char * argv[] = { "xdg-open", (char*)path, NULL };
     560            char * argv[] = { (char*)"xdg-open", (char*)path, NULL };
    561561            g_spawn_async( NULL, argv, NULL, G_SPAWN_SEARCH_PATH,
    562562                           NULL, NULL, NULL, NULL );
     
    645645
    646646guint
    647 gtr_timeout_add_seconds( guint        interval,
    648                          GSourceFunc  function,
    649                          gpointer     data )
     647gtr_timeout_add_seconds( guint seconds, GSourceFunc function, gpointer data )
    650648{
    651649#if GLIB_CHECK_VERSION( 2,14,0 )
    652     return g_timeout_add_seconds( interval, function, data );
     650    return g_timeout_add_seconds( seconds, function, data );
    653651#else
    654     return g_timeout_add( interval*1000, function, data );
    655 #endif
    656 }
     652    return g_timeout_add( seconds*1000, function, data );
     653#endif
     654}
Note: See TracChangeset for help on using the changeset viewer.