[anjuta] document-manager: remove usage of unneeded initialized variable in class_init



commit f343d564d41a3842c5d3589e7daa61eb8d27063c
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Wed Jan 30 17:33:07 2013 +0100

    document-manager: remove usage of unneeded initialized variable in class_init

 plugins/document-manager/anjuta-docman.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/plugins/document-manager/anjuta-docman.c b/plugins/document-manager/anjuta-docman.c
index a59f223..5809be8 100644
--- a/plugins/document-manager/anjuta-docman.c
+++ b/plugins/document-manager/anjuta-docman.c
@@ -1127,17 +1127,12 @@ anjuta_docman_instance_init (AnjutaDocman *docman)
 static void
 anjuta_docman_class_init (AnjutaDocmanClass *klass)
 {
-	static gboolean initialized;
 	GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
 	parent_class = g_type_class_peek_parent (klass);
 	object_class->finalize = anjuta_docman_finalize;
 	object_class->dispose = anjuta_docman_dispose;
 
-	if (!initialized)
-	{
-		initialized = TRUE;
-
 		/* Signals */
 	docman_signals [DOC_ADDED] =
 		g_signal_new ("document-added",
@@ -1169,8 +1164,6 @@ anjuta_docman_class_init (AnjutaDocmanClass *klass)
 			G_TYPE_NONE,
 			1,
 			G_TYPE_OBJECT);
-
-	}
 }
 
 GtkWidget*



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