[gtk/matthiasc/for-master: 1/3] bookmarksmanager: Load bookmarks initially
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 1/3] bookmarksmanager: Load bookmarks initially
- Date: Sat, 8 Aug 2020 22:10:54 +0000 (UTC)
commit f5da7a113f721a6f157e78f62f643bc351d260dc
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 8 13:33:19 2020 -0400
bookmarksmanager: Load bookmarks initially
This was broken in 1e6171a4a700b0c16b2f.
gtk/gtkbookmarksmanager.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gtk/gtkbookmarksmanager.c b/gtk/gtkbookmarksmanager.c
index d873de1519..0534b913b5 100644
--- a/gtk/gtkbookmarksmanager.c
+++ b/gtk/gtkbookmarksmanager.c
@@ -296,6 +296,9 @@ _gtk_bookmarks_manager_new (GtkBookmarksChangedFunc changed_func, gpointer chang
manager->bookmarks_monitor_changed_id = g_signal_connect (manager->bookmarks_monitor, "changed",
G_CALLBACK (bookmarks_file_changed), manager);
+
+ g_file_load_contents_async (bookmarks_file, NULL, read_bookmarks_finish, manager);
+
g_object_unref (bookmarks_file);
return manager;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]