aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/rtp_player.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-07-22 15:58:36 +0000
committerEvan Huus <eapache@gmail.com>2012-07-22 15:58:36 +0000
commitafec7965987ae02222bfdc6ea1ab3135c48f48da (patch)
tree16aad8af2c1ff7296d40d03d07ca5dbaf82c29fe /ui/gtk/rtp_player.c
parent79dd3fc264ee0c71c7e8de86f5bfec393bb00ad2 (diff)
Two little cleanups from cppcheck:
- unused variable = don't trust GTK_IS_PROGRESS_BAR to provide the necessary parentheses svn path=/trunk/; revision=43915
Diffstat (limited to 'ui/gtk/rtp_player.c')
-rw-r--r--ui/gtk/rtp_player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/rtp_player.c b/ui/gtk/rtp_player.c
index 4380f4f976..46874ff1fb 100644
--- a/ui/gtk/rtp_player.c
+++ b/ui/gtk/rtp_player.c
@@ -570,7 +570,7 @@ static void
update_progress_bar(gfloat fraction)
{
- if GTK_IS_PROGRESS_BAR(progress_bar)
+ if (GTK_IS_PROGRESS_BAR(progress_bar))
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress_bar), fraction);
/* Force gtk to redraw the window before starting decoding the packet */