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 /src/gtkext | |
parent | ea6c3bdb7ff6d65b883a415cf1b46854d37568f3 (diff) |
Incremented the reference counter for an attached buffer view.
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkbufferdisplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); } |