[anjuta/gnome-3-0] project-wizard: Fixed bug in the anjuta-plugin template



commit 9610a6d1f20bd25828c380c7cd7480373d4bd7b6
Author: Johannes Schmid <jhs gnome org>
Date:   Thu Apr 7 16:36:51 2011 +0200

    project-wizard: Fixed bug in the anjuta-plugin template

 .../templates/anjuta-plugin/src/plugin.c           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
index 4b4ef98..b04fbce 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
+++ b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
@@ -68,7 +68,7 @@ static gboolean
 [+IF (=(get "HasGladeFile") "1") +]
 	GtkWidget *wid;
 	GtkBuilder *builder;
-	GError *error;
+	GError *error = NULL;
 [+ENDIF+]
 	[+PluginClass+] *[+NameCLower+];
 	



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