diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-21 16:37:42 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-21 16:37:42 +0200 |
commit | 9cab963c02fef5eaffcfb84d0bc9ef0528b91110 (patch) | |
tree | f6a714b5cf4aaf03f37d0f38ae85ab638533e760 /ufo/ufo-daemon.c | |
parent | f14e7e2aa3bb90efa7a49027a0364fcd081665a9 (diff) |
Remove UfoArchGraph
Remote node handling moved to the UfoResources object.
Diffstat (limited to 'ufo/ufo-daemon.c')
-rw-r--r-- | ufo/ufo-daemon.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ufo/ufo-daemon.c b/ufo/ufo-daemon.c index 7bd4a27..5df4182 100644 --- a/ufo/ufo-daemon.c +++ b/ufo/ufo-daemon.c @@ -53,7 +53,6 @@ G_DEFINE_TYPE (UfoDaemon, ufo_daemon, G_TYPE_OBJECT) struct _UfoDaemonPrivate { UfoPluginManager *manager; UfoResources *resources; - UfoArchGraph *arch; UfoTaskGraph *task_graph; UfoBaseScheduler *scheduler; GThread *scheduler_thread; @@ -414,7 +413,7 @@ run_scheduler (UfoDaemon *daemon) g_message ("Run scheduler ..."); priv->scheduler = ufo_scheduler_new (); - ufo_base_scheduler_set_arch (priv->scheduler, priv->arch); + ufo_base_scheduler_set_resources (priv->scheduler, priv->resources); ufo_base_scheduler_run (priv->scheduler, priv->task_graph, NULL); g_message ("Done."); @@ -438,8 +437,6 @@ ufo_daemon_start_impl (UfoDaemon *daemon) return; } - priv->arch = UFO_ARCH_GRAPH (ufo_arch_graph_new (priv->resources, NULL)); - /* tell the calling thread that we have started */ g_mutex_lock (priv->started_lock); priv->has_started = TRUE; |