[gnome-taquin] Fix compilation.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin] Fix compilation.
- Date: Mon, 7 Jan 2019 14:25:23 +0000 (UTC)
commit 4a35c6f5a056f3518e37b1fe0c0b4de5bf5aae52
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jan 7 15:25:07 2019 +0100
Fix compilation.
src/taquin-main.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/taquin-main.vala b/src/taquin-main.vala
index 243f364..9bf5f3b 100644
--- a/src/taquin-main.vala
+++ b/src/taquin-main.vala
@@ -206,7 +206,7 @@ public class Taquin : Gtk.Application
{
int random = Random.int_range (0, (int) dirlist.length());
filename = dirlist.nth_data(random);
- unowned List<string> entry = dirlist.find_custom (filename, strcmp);
+ unowned List<weak string> entry = dirlist.find_custom (filename, strcmp);
dirlist.remove_link (entry);
} while (filename[0] == '0' || (filename[0] != '1' && filename[0] != size.to_string ()[0] &&
dirlist.length () != 0));
view.theme = Path.build_filename (DATA_DIRECTORY, "themes", settings.get_string ("theme"), filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]