[anjuta-extras] scintilla: fixed a little warning.
- From: Massimo Cora' <mcora src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta-extras] scintilla: fixed a little warning.
- Date: Tue, 13 Jul 2010 00:38:53 +0000 (UTC)
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]