aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evolution-shell-component.c')
-rw-r--r--shell/evolution-shell-component.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c
index ce49e843d4..a7054564d0 100644
--- a/shell/evolution-shell-component.c
+++ b/shell/evolution-shell-component.c
@@ -553,6 +553,7 @@ destroy (GtkObject *object)
EvolutionShellComponent *shell_component;
EvolutionShellComponentPrivate *priv;
CORBA_Environment ev;
+ GSList *sp;
GList *p;
shell_component = EVOLUTION_SHELL_COMPONENT (object);
@@ -582,8 +583,8 @@ destroy (GtkObject *object)
e_free_string_list (priv->external_uri_schemas);
- for (p = priv->user_creatable_item_types; p != NULL; p = p->next)
- user_creatable_item_type_free ((UserCreatableItemType *) p->data);
+ for (sp = priv->user_creatable_item_types; sp != NULL; sp = sp->next)
+ user_creatable_item_type_free ((UserCreatableItemType *) sp->data);
g_slist_free (priv->user_creatable_item_types);
g_free (priv);