From 1ad1b23f576febc5364916a7e717425b7ef07af5 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 16 Aug 2016 18:03:17 +0200 Subject: [PATCH] callgraph: ensure cell renderer is available --- lib/sp-callgraph-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sp-callgraph-view.c b/lib/sp-callgraph-view.c index b033e454..30f27437 100644 --- a/lib/sp-callgraph-view.c +++ b/lib/sp-callgraph-view.c @@ -39,6 +39,7 @@ #include "sp-callgraph-profile-private.h" #include "sp-callgraph-view.h" +#include "sp-cell-renderer-percent.h" #include "util.h" @@ -723,6 +724,8 @@ sp_callgraph_view_class_init (SpCallgraphViewClass *klass) bindings = gtk_binding_set_by_class (klass); gtk_binding_entry_add_signal (bindings, GDK_KEY_Left, GDK_MOD1_MASK, "go-previous", 0); + + g_type_ensure (SP_TYPE_CELL_RENDERER_PERCENT); } static void