diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-07-14 15:10:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-07-14 15:10:30 (GMT) |
commit | f3184725ec750317c04f1989ac83c2bbc75865a9 (patch) | |
tree | 8c5a070700cdc6b37c9a3e14ce5a06ddbb19aaac | |
parent | ea6c3bdb7ff6d65b883a415cf1b46854d37568f3 (diff) |
Incremented the reference counter for an attached buffer view.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gtkext/gtkbufferdisplay.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,10 @@ 17-07-14 Cyrille Bagard <nocbos@gmail.com> + * src/gtkext/gtkbufferdisplay.c: + Increment the reference counter for an attached buffer view. + +17-07-14 Cyrille Bagard <nocbos@gmail.com> + * plugins/readdex/ids.c: * plugins/readelf/program.c: * plugins/readelf/section.c: diff --git a/src/gtkext/gtkbufferdisplay.c b/src/gtkext/gtkbufferdisplay.c index 6aec453..ff70032 100644 --- a/src/gtkext/gtkbufferdisplay.c +++ b/src/gtkext/gtkbufferdisplay.c @@ -815,6 +815,7 @@ void gtk_buffer_display_set_view(GtkBufferDisplay *display, GBufferView *view) g_object_unref(G_OBJECT(display->view)); display->view = view; + g_object_ref(G_OBJECT(view)); } |