summaryrefslogtreecommitdiff
path: root/src/gpm-engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-engine.c')
-rw-r--r--src/gpm-engine.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpm-engine.c b/src/gpm-engine.c
index 611ccf5..022916e 100644
--- a/src/gpm-engine.c
+++ b/src/gpm-engine.c
@@ -1159,6 +1159,7 @@ gpm_engine_init (GpmEngine *engine)
GPtrArray *array = NULL;
guint i;
#endif
+ guint idle_id;
engine->priv = GPM_ENGINE_GET_PRIVATE (engine);
engine->priv->array = g_ptr_array_new_with_free_func (g_object_unref);
@@ -1223,7 +1224,8 @@ gpm_engine_init (GpmEngine *engine)
else
egg_debug ("Using percentage notification policy");
- g_idle_add ((GSourceFunc) gpm_engine_coldplug_idle_cb, engine);
+ idle_id = g_idle_add ((GSourceFunc) gpm_engine_coldplug_idle_cb, engine);
+ g_source_set_name_by_id (idle_id, "[GpmEngine] coldplug");
}
/**