[gimp] metadata: Remove ns_prefix decl (it is conditionally used)
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] metadata: Remove ns_prefix decl (it is conditionally used)
- Date: Mon, 3 Oct 2011 08:01:08 +0000 (UTC)
commit ea12d8da4d8cc8ff598dbbf159a204dfec4138c6
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 12:55:10 2011 +0530
metadata: Remove ns_prefix decl (it is conditionally used)
plug-ins/metadata/xmp-model.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/metadata/xmp-model.c b/plug-ins/metadata/xmp-model.c
index f8de017..9d8d85e 100644
--- a/plug-ins/metadata/xmp-model.c
+++ b/plug-ins/metadata/xmp-model.c
@@ -517,7 +517,6 @@ parse_set_property (XMPParseContext *context,
XMPModel *xmp_model = user_data;
XMPSchema *schema = ns_user_data;
int i;
- const gchar *ns_prefix;
XMPProperty *property;
GtkTreeIter iter;
GtkTreeIter child_iter;
@@ -534,7 +533,6 @@ parse_set_property (XMPParseContext *context,
return;
}
- ns_prefix = schema->prefix;
property = NULL;
if (schema->properties != NULL)
@@ -553,7 +551,7 @@ parse_set_property (XMPParseContext *context,
{
case XMP_PTYPE_TEXT:
#ifdef DEBUG_XMP_MODEL
- g_print ("\t%s:%s = \"%s\"\n", ns_prefix, name, value[0]);
+ g_print ("\t%s:%s = \"%s\"\n", schema->prefix, name, value[0]);
#endif
if (property != NULL)
/* FIXME */;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]