Mercurial > audlegacy-plugins
diff src/projectm/main.c @ 663:aaab0bede198 trunk
[svn] Cast those pointers properly, and do not use deprecated GTK+ functions.
| author | chainsaw |
|---|---|
| date | Sat, 17 Feb 2007 07:46:52 -0800 |
| parents | bc3bae2880ec |
| children | 711ec8d39ca6 |
line wrap: on
line diff
--- a/src/projectm/main.c Sat Feb 17 01:41:14 2007 -0800 +++ b/src/projectm/main.c Sat Feb 17 07:46:52 2007 -0800 @@ -206,7 +206,7 @@ projectM_resetGL( globalPM, wvw, wvh ); - title_timer = SDL_AddTimer(500, get_xmms_title, NULL); + title_timer = SDL_AddTimer(500, (SDL_NewTimerCallback) get_xmms_title, NULL); /** Initialise the thread */ @@ -254,7 +254,7 @@ } else if ( evt == PROJECTM_VIDEOQUIT ) { - (void) gtk_idle_add (disable_projectm, NULL); + (void) g_idle_add ((GSourceFunc) disable_projectm, NULL); /* if(quit_timer == NULL) quit_timer = SDL_AddTimer(500, disable_projectm, NULL);*/ }
