Commit f09c365a authored by Christian Hergert's avatar Christian Hergert
Browse files

device-manager: use ide_extension_set_new()

This allows locating :context from IdeObject when instantiating plugins.
parent f20f3e4d
......@@ -24,6 +24,7 @@
#include "ide-device-provider.h"
#include "local/ide-local-device.h"
#include "plugins/ide-extension-util.h"
struct _IdeDeviceManager
......@@ -249,7 +250,7 @@ ide_device_manager_add_providers (IdeDeviceManager *self)
context = ide_object_get_context (IDE_OBJECT (self));
self->providers = peas_extension_set_new (peas_engine_get_default (),
self->providers = ide_extension_set_new (peas_engine_get_default (),
"context", context,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment