diff options
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/contentview-int.h | 1 | ||||
-rw-r--r-- | src/gtkext/contentview.c | 2 | ||||
-rw-r--r-- | src/gtkext/contentview.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/gtkext/contentview-int.h b/src/gtkext/contentview-int.h index ba1f17c..25c9ddb 100644 --- a/src/gtkext/contentview-int.h +++ b/src/gtkext/contentview-int.h @@ -94,6 +94,7 @@ struct _GtkContentView { GtkWidget parent; /* A laisser en premier */ + GDisplayOptions *options; /* Options de rendu */ GTokenStyle *style; /* Centralisation des styles */ #if 0 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); diff --git a/src/gtkext/contentview.h b/src/gtkext/contentview.h index e0660ff..3c0dacd 100644 --- a/src/gtkext/contentview.h +++ b/src/gtkext/contentview.h @@ -29,6 +29,7 @@ #include "../glibext/helpers.h" +#include "../glibext/options.h" |