View | Details | Raw Unified | Return to bug 234607 | Differences between
and this patch

Collapse All | Expand All

(-)devel/gitg/files/patch-libgitg_gitg-repository-list-box.vala (+19 lines)
Line 0 Link Here
1
# gitg crash on exit if built with -fstack-protector-all
2
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234607
3
# https://gitlab.gnome.org/GNOME/gitg/issues/171
4
--- libgitg/gitg-repository-list-box.vala
5
+++ libgitg/gitg-repository-list-box.vala
6
@@ -407,9 +407,12 @@ namespace Gitg
7
 			return ((Row)b).time.compare(((Row)a).time);
8
 		}
9
 
10
+		[CCode (cname = "g_bookmark_file_get_uris", array_length_type = "gsize")]
11
+		extern static string[] bookmark_file_get_uris (BookmarkFile bookmark);
12
+
13
 		public void populate_bookmarks()
14
 		{
15
-			var uris = d_bookmark_file.get_uris();
16
+			var uris = bookmark_file_get_uris(d_bookmark_file);
17
 
18
 			foreach (var uri in uris)
19
 			{

Return to bug 234607