[tracker/tracker-1.10] tracker-needle: Fix build
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-1.10] tracker-needle: Fix build
- Date: Fri, 29 Sep 2017 20:04:34 +0000 (UTC)
commit 9ac288ad71737cae7dd8f7dea1122aa23e2fa232
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Nov 19 23:31:28 2016 +0100
tracker-needle: Fix build
It seems recent vala got pickier with passing unsigned to a %d
parameter. It's still right nonetheless, and changing the string
is a needless translation change, so just cast to int.
src/tracker-needle/tracker-tags-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-needle/tracker-tags-view.vala b/src/tracker-needle/tracker-tags-view.vala
index 688c0f8..3acd27e 100644
--- a/src/tracker-needle/tracker-tags-view.vala
+++ b/src/tracker-needle/tracker-tags-view.vala
@@ -373,7 +373,7 @@ public class TrackerTagsView : Box {
string str = dngettext (null,
"_Set the tags you want to associate with the %d selected
item:",
"_Set the tags you want to associate with the %d selected
items:",
- files.length ()).printf (files.length ());
+ files.length ()).printf ((int) files.length ());
label.set_text_with_mnemonic (str);
vbox.sensitive = true;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]