[gtksourceview/wip/chergert/gsv-gtk4: 114/125] view: remove unref of left/right gutter
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 114/125] view: remove unref of left/right gutter
- Date: Wed, 15 Jan 2020 23:55:57 +0000 (UTC)
commit 0e70c18c5ebe29c93db2bf8e7eeeb9966f8b59d7
Author: Christian Hergert <chergert redhat com>
Date: Wed Jan 15 15:28:41 2020 -0800
view: remove unref of left/right gutter
These are widgets now, so we do not need to unref them as their pointer
instance is borrowed.
gtksourceview/gtksourceview.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index b2b3e8c1..c2edddc7 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -1350,8 +1350,6 @@ gtk_source_view_dispose (GObject *object)
GtkSourceViewPrivate *priv = gtk_source_view_get_instance_private (view);
g_clear_object (&priv->completion);
- g_clear_object (&priv->left_gutter);
- g_clear_object (&priv->right_gutter);
g_clear_object (&priv->style_scheme);
g_clear_object (&priv->space_drawer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]