[gtksourceview] test-widget: unref the GtkSourceFile object
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] test-widget: unref the GtkSourceFile object
- Date: Tue, 9 Sep 2014 21:45:35 +0000 (UTC)
commit eb8f3ca9d10aa4c020f2de884da3eb9e9b666e86
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Sep 9 23:35:27 2014 +0200
test-widget: unref the GtkSourceFile object
It's just a test, but maybe some developers will read the code to create
an application...
tests/test-widget.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-widget.c b/tests/test-widget.c
index 5e6fef7..a293701 100644
--- a/tests/test-widget.c
+++ b/tests/test-widget.c
@@ -921,6 +921,7 @@ test_widget_dispose (GObject *object)
TestWidget *self = TEST_WIDGET (object);
g_clear_object (&self->priv->buffer);
+ g_clear_object (&self->priv->file);
G_OBJECT_CLASS (test_widget_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]