uncomment splash code on gtk loadingwindow; still doesn't work

This commit is contained in:
AJ Kelly
2011-08-23 22:09:30 -05:00
parent 94c130065f
commit 89d27a656e
3 changed files with 8 additions and 8 deletions
@@ -60,7 +60,7 @@ extern "C" void SetText( const char *s )
gtk_widget_show(label);
gtk_main_iteration_do(FALSE);
}
/*
extern "C" void SetIcon( const RageSurface *pSrcImg )
{
RageSurface *pImg;
@@ -87,14 +87,14 @@ extern "C" void SetIcon( const RageSurface *pSrcImg )
gtk_window_set_icon( GTK_WINDOW(window), pIcon );
gtk_main_iteration_do(FALSE);
}
/*
*/
extern "C" void SetSplash( const char *s )
{
splash = gtk_image_new_from_file(s);
gtk_widget_show(splash);
gtk_main_iteration_do(FALSE);
}
*/
extern "C" void SetProgress( int progress, int totalWork )
{
gdouble fraction = ( totalWork > 0 ? progress / (gdouble)totalWork : 0 );