aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index 0ece70a360..d4770915d3 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -604,7 +604,7 @@ e_plugin_register_type(GType type)
char *prop_type;
prop_type = (char *)xmlGetProp(root, (const unsigned char *)"type");
- if (!strcmp((char *)type, klass->type))
+ if (!strcmp(prop_type, klass->type))
add = g_slist_append(add, l->data);
xmlFree(prop_type);
}