aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-03-11 21:07:24 +0100
committerGuido Günther <agx@sigxcpu.org>2014-03-11 21:14:03 +0100
commit4a2b77d51ea05a7d7f916795afb78e083856d6aa (patch)
treeb9a86ff093ef0908ca95de564382e472e3075b5a
parent4ed442ce09a161a0dc92f26e87d3194a1ab7630a (diff)
Remove unused variable
We always refresh the list of available providers
-rw-r--r--libplanfahr/lpf-manager.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libplanfahr/lpf-manager.c b/libplanfahr/lpf-manager.c
index bb17d33..7f575a0 100644
--- a/libplanfahr/lpf-manager.c
+++ b/libplanfahr/lpf-manager.c
@@ -49,7 +49,6 @@ G_DEFINE_TYPE (LpfManager, lpf_manager, G_TYPE_OBJECT)
typedef struct _LpfManagerPrivate LpfManagerPrivate;
struct _LpfManagerPrivate {
- GSList *available; /* available providers */
GSList *active; /* active providers */
};
@@ -253,7 +252,6 @@ lpf_manager_dispose(GObject *object)
LpfManagerPrivate *priv = GET_PRIVATE (self);
GObjectClass *parent_class = G_OBJECT_CLASS (lpf_manager_parent_class);
- /* We need to do this before dropping the ref on applet */
g_slist_foreach (priv->active, deactivate_provider, self);
g_slist_free (priv->active);
@@ -275,5 +273,4 @@ lpf_manager_init (LpfManager *self)
{
LpfManagerPrivate *priv = GET_PRIVATE (self);
priv->active = NULL;
- priv->available = NULL;
}