[sysprof] callgraph: ensure cell renderer is available



commit 1ad1b23f576febc5364916a7e717425b7ef07af5
Author: Christian Hergert <chergert redhat com>
Date:   Tue Aug 16 18:03:17 2016 +0200

    callgraph: ensure cell renderer is available

 lib/sp-callgraph-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/sp-callgraph-view.c b/lib/sp-callgraph-view.c
index b033e45..30f2743 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]