From 8f5e3e05a049c4941e12e02d419356da14e5b45c Mon Sep 17 00:00:00 2001
From: edgrif <edgrif>
Date: Fri, 30 Apr 2010 08:51:37 +0000
Subject: [PATCH] remove class init from here, wrong place to do it.

---
 src/zmapWindow/zmapWindowFeature.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/zmapWindow/zmapWindowFeature.c b/src/zmapWindow/zmapWindowFeature.c
index 911822386..65b95632d 100755
--- a/src/zmapWindow/zmapWindowFeature.c
+++ b/src/zmapWindow/zmapWindowFeature.c
@@ -28,9 +28,9 @@
  *
  * Exported functions: See zmapWindow_P.h
  * HISTORY:
- * Last edited: Apr 15 09:29 2010 (edgrif)
+ * Last edited: Apr 29 11:39 2010 (edgrif)
  * Created: Mon Jan  9 10:25:40 2006 (edgrif)
- * CVS info:   $Id: zmapWindowFeature.c,v 1.180 2010-04-22 14:31:53 mh17 Exp $
+ * CVS info:   $Id: zmapWindowFeature.c,v 1.181 2010-04-30 08:51:37 edgrif Exp $
  *-------------------------------------------------------------------
  */
 
@@ -812,10 +812,6 @@ static gboolean canvasItemEventCB(FooCanvasItem *item, GdkEvent *event, gpointer
 
 	sub_item = zMapWindowCanvasItemGetInterval(canvas_item, but_event->x, but_event->y, &sub_feature);
 
-	if(!g_type_class_peek(ZMAP_TYPE_FEATURE_DATA))
-	  g_type_class_ref(ZMAP_TYPE_FEATURE_DATA);
-
-
 	if (but_event->type == GDK_BUTTON_PRESS)
 	  {
 	    /* Double clicks occur within 250 milliseconds so we ignore the second button
-- 
GitLab