summaryrefslogtreecommitdiff
path: root/src/totem-gallery-thumbnailer.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-17 21:29:39 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-17 22:42:23 +0100
commit1f0c4e58508f89cb0c6d1b096a1f1f094f1cbf53 (patch)
tree0019b748bac6adcace64c5bc25cef2a12240f1e5 /src/totem-gallery-thumbnailer.c
parent44def51aca7b369c3d69b60a98480bc92d8e41ff (diff)
downloadtotem-1f0c4e58508f89cb0c6d1b096a1f1f094f1cbf53.tar.gz
all: Convert totem_time_to_string() to using flags
See https://blog.ometer.com/2011/01/20/boolean-parameters-are-wrong/
Diffstat (limited to 'src/totem-gallery-thumbnailer.c')
-rw-r--r--src/totem-gallery-thumbnailer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/totem-gallery-thumbnailer.c b/src/totem-gallery-thumbnailer.c
index 1d9b51965..d066d1301 100644
--- a/src/totem-gallery-thumbnailer.c
+++ b/src/totem-gallery-thumbnailer.c
@@ -620,7 +620,7 @@ create_gallery (ThumbApp *app)
g_object_unref (pixbuf);
/* Build the header information */
- duration_text = totem_time_to_string (stream_length, FALSE, FALSE);
+ duration_text = totem_time_to_string (stream_length, TOTEM_TIME_FLAG_NONE);
file = g_file_new_for_commandline_arg (app->input);
filename = g_file_get_basename (file);
g_object_unref (file);
@@ -669,7 +669,7 @@ create_gallery (ThumbApp *app)
gchar *timestamp_text;
gint layout_width, layout_height;
- timestamp_text = totem_time_to_string (pos, FALSE, FALSE);
+ timestamp_text = totem_time_to_string (pos, TOTEM_TIME_FLAG_NONE);
pango_layout_set_text (layout, timestamp_text, -1);
pango_layout_get_pixel_size (layout, &layout_width, &layout_height);