summaryrefslogtreecommitdiff
path: root/src/gtkext/contentview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/contentview.c')
-rw-r--r--src/gtkext/contentview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkext/contentview.c b/src/gtkext/contentview.c
index e79d13c..4b7f79d 100644
--- a/src/gtkext/contentview.c
+++ b/src/gtkext/contentview.c
@@ -214,6 +214,7 @@ static void gtk_content_view_class_init(GtkContentViewClass *class)
static void gtk_content_view_init(GtkContentView *view)
{
+ view->options = NULL;
view->style = g_token_style_new(GTK_WIDGET(view));
@@ -271,6 +272,7 @@ static void gtk_display_panel_loaded_interface_init(GLoadedPanelInterface *iface
static void gtk_content_view_dispose(GtkContentView *view)
{
+ g_clear_object(&view->options);
g_clear_object(&view->style);