[anjuta-extras] scintilla: fixed a little warning.



commit 67a1329664de60e6a93c8d788447cd279689e220
Author: Massimo Corà <mcora src gnome org>
Date:   Tue Jul 13 02:37:22 2010 +0200

    scintilla: fixed a little warning.

 plugins/scintilla/plugin.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/scintilla/plugin.c b/plugins/scintilla/plugin.c
index c73efc4..57fa1e4 100644
--- a/plugins/scintilla/plugin.c
+++ b/plugins/scintilla/plugin.c
@@ -100,7 +100,8 @@ update_type_list (AnjutaShell *shell, IAnjutaIterable *iter, const gchar *name)
 			anjuta_shell_add_value (shell, name, &value, NULL);
 		}
 	}
-	g_value_unset (&value);
+	if (G_IS_VALUE (&value))
+		g_value_unset (&value);
 }
 
 static void



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