[gitg/fix-warnings: 7/7] Use new set_application_info
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/fix-warnings: 7/7] Use new set_application_info
- Date: Tue, 15 Feb 2022 00:33:12 +0000 (UTC)
commit 66561fef1242f810d65fce7bfc157a1e8a63d277
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Tue Feb 15 01:12:11 2022 +0100
Use new set_application_info
libgitg/gitg-repository-list-box.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgitg/gitg-repository-list-box.vala b/libgitg/gitg-repository-list-box.vala
index 06fda8b8..f956a05c 100644
--- a/libgitg/gitg-repository-list-box.vala
+++ b/libgitg/gitg-repository-list-box.vala
@@ -323,7 +323,7 @@ namespace Gitg
var app_name = Environment.get_application_name();
var app_exec = string.join(" ", Environment.get_prgname(), "%f");
- try { d_bookmark_file.set_app_info(uri, app_name, app_exec, 1, -1); } catch {}
+ try { d_bookmark_file.set_application_info(uri, app_name, app_exec, 1, new
GLib.DateTime.now()); } catch {}
}
save_repository_bookmarks_timeout();
@@ -502,7 +502,7 @@ namespace Gitg
var app_name = Environment.get_application_name();
var app_exec = string.join(" ", Environment.get_prgname(), "%f");
- try { d_bookmark_file.set_app_info(uri, app_name, app_exec, 1, -1); } catch {}
+ try { d_bookmark_file.set_application_info(uri, app_name, app_exec, 1, new
GLib.DateTime.now()); } catch {}
save_repository_bookmarks_timeout();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]