Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Günther Wagner
gnome-builder
Commits
7766d399
Commit
7766d399
authored
Jan 14, 2019
by
Christian Hergert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code: notify of buffer modification when backing file changes
parent
632e354f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/libide/code/ide-buffer.c
src/libide/code/ide-buffer.c
+2
-0
No files found.
src/libide/code/ide-buffer.c
View file @
7766d399
...
...
@@ -1883,6 +1883,8 @@ _ide_buffer_set_changed_on_volume (IdeBuffer *self,
if
(
changed_on_volume
!=
self
->
changed_on_volume
)
{
self
->
changed_on_volume
=
changed_on_volume
;
if
(
changed_on_volume
)
gtk_text_buffer_set_modified
(
GTK_TEXT_BUFFER
(
self
),
TRUE
);
g_object_notify_by_pspec
(
G_OBJECT
(
self
),
properties
[
PROP_CHANGED_ON_VOLUME
]);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment