aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-02-08 19:43:02 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-02-08 19:43:02 +0800
commit99d9556902279ce55280febc1cbf39980efd11df (patch)
treec872ba3ab8f9e5b74231a092125241921ed81b27 /e-util/e-plugin.c
parentc523e430278b5fe1f7136d6219913678f2f30c13 (diff)
downloadgsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.tar
gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.tar.gz
gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.tar.bz2
gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.tar.lz
gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.tar.xz
gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.tar.zst
gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.zip
Use guint for 1-bit bitfield. Remove unused var Remove unused vars Rename
2006-02-08 Kjartan Maraas <kmaraas@gnome.org> * e-config.c: Use guint for 1-bit bitfield. * e-icon-factory.c: (load_icon): Remove unused var * e-import.c: (ep_init), (ep_finalise): Remove unused vars * e-plugin.c: (e_plugin_register_type): Rename a var * e-plugin.h: guint for 1-bit bitfield * e-popup.c: (ep_finalise): Add comment. * e-profile-event.c: Remove unused prototype * e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event): Add comment about a compiler warning from the Intel compiler. svn path=/trunk/; revision=31446
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index d1911abbea..176b03a1ff 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -557,12 +557,12 @@ e_plugin_register_type(GType type)
for (l=pdoc->plugins;l;l=g_slist_next(l)) {
xmlNodePtr root = l->data;
- char *type;
+ char *prop_type;
- type = xmlGetProp(root, "type");
- if (!strcmp(type, klass->type))
+ prop_type = xmlGetProp(root, "type");
+ if (!strcmp((char *)type, klass->type))
add = g_slist_append(add, l->data);
- xmlFree(type);
+ xmlFree(prop_type);
}
for (l=add;l;l=g_slist_next(l)) {