Squelch GTK warnings on the RTP player progress bar when resizeing the window.
svn path=/trunk/; revision=31298
This commit is contained in:
parent
b5080f83c7
commit
9b55f28a3d
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue