[totem] main: Fix up coding style
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Fix up coding style
- Date: Fri, 13 Apr 2012 15:03:42 +0000 (UTC)
commit c591fa3f5cb8b7eff5bd4651c5f2f055e5ae327a
Author: Bastien Nocera <hadess hadess net>
Date: Fri Apr 13 16:02:07 2012 +0100
main: Fix up coding style
src/totem-time-label.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/totem-time-label.c b/src/totem-time-label.c
index efea1ea..551cdf1 100644
--- a/src/totem-time-label.c
+++ b/src/totem-time-label.c
@@ -48,8 +48,8 @@ totem_time_label_set_time (TotemTimeLabel *label, gint64 _time, gint64 length)
g_return_if_fail (TOTEM_IS_TIME_LABEL (label));
- if (_time / 1000 == label->priv->time / 1000
- && length / 1000 == label->priv->length / 1000)
+ if (_time / 1000 == label->priv->time / 1000 &&
+ length / 1000 == label->priv->length / 1000)
return;
if (length <= 0) {
@@ -59,12 +59,13 @@ totem_time_label_set_time (TotemTimeLabel *label, gint64 _time, gint64 length)
time_str = totem_time_to_string (_time);
length_str = totem_time_to_string (length);
- if (label->priv->seeking == FALSE)
+ if (label->priv->seeking == FALSE) {
/* Elapsed / Total Length */
label_str = g_strdup_printf (_("%s / %s"), time_str, length_str);
- else
+ } else {
/* Seeking to Time / Total Length */
label_str = g_strdup_printf (_("Seek to %s / %s"), time_str, length_str);
+ }
g_free (time_str);
g_free (length_str);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]