diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-06-04 10:34:24 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-06-04 10:36:13 (GMT) |
commit | 4218b6e8f87893a31c292dbb32c328b81e18ec61 (patch) | |
tree | aa2e56259aef63dde37fa93e80dc02eb0b512906 /src/gtkext/contentview.c | |
parent | 20e004389791cce24682a426a183a665247e2920 (diff) |
Define rendering options for content views.
Diffstat (limited to 'src/gtkext/contentview.c')
-rw-r--r-- | src/gtkext/contentview.c | 2 |
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); |