Squelch GTK warnings on the RTP player progress bar when resizeing the window.

svn path=/trunk/; revision=31298
This commit is contained in:
Jaap Keuter 2009-12-17 19:58:57 +00:00
parent b5080f83c7
commit 9b55f28a3d
1 changed files with 2 additions and 1 deletions

View File

@ -566,7 +566,8 @@ static void
update_progress_bar(gfloat percentage)
{
gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), percentage);
if GTK_IS_PROGRESS_BAR(progress_bar)
gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), percentage);
/* Force gtk to redraw the window before starting decoding the packet */
while (gtk_events_pending())