[gitg/fix-warnings: 7/7] Use new set_application_info




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]