[gtk+] inspector: Collect statistics for unclassable types
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Collect statistics for unclassable types
- Date: Tue, 1 Nov 2016 17:35:35 +0000 (UTC)
commit e02ff7c0642f438e37f4ef46a872eacfb14f529b
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 1 18:31:13 2016 +0100
inspector: Collect statistics for unclassable types
I want to know how many GskRenderNodes I have!
gtk/inspector/statistics.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gtk/inspector/statistics.c b/gtk/inspector/statistics.c
index 42b315c..5baf700 100644
--- a/gtk/inspector/statistics.c
+++ b/gtk/inspector/statistics.c
@@ -130,14 +130,9 @@ update_type_counts (gpointer data)
{
GtkInspectorStatistics *sl = data;
GType type;
- gpointer class;
for (type = G_TYPE_INTERFACE; type <= G_TYPE_FUNDAMENTAL_MAX; type += (1 << G_TYPE_FUNDAMENTAL_SHIFT))
{
- class = g_type_class_peek (type);
- if (class == NULL)
- continue;
-
if (!G_TYPE_IS_INSTANTIATABLE (type))
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]