[gedit/wip/spell-checking] GeditDocument: ensure that a GFileInfo exists to store metadata
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/spell-checking] GeditDocument: ensure that a GFileInfo exists to store metadata
- Date: Fri, 31 Jul 2015 13:20:39 +0000 (UTC)
commit 889bac6c50e668b3a0e6c74bada754c2884727c1
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Jul 31 15:09:14 2015 +0200
GeditDocument: ensure that a GFileInfo exists to store metadata
For a new tab, with a NULL location, the metadata was not stored.
gedit/gedit-document.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index d86b821..527495c 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -832,6 +832,7 @@ gedit_document_init (GeditDocument *doc)
g_get_current_time (&priv->time_of_last_save_or_load);
priv->file = gtk_source_file_new ();
+ priv->metadata_info = g_file_info_new ();
g_signal_connect_object (priv->file,
"notify::location",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]