diff options
Diffstat (limited to 'openbox/plugin.c')
| -rw-r--r-- | openbox/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/plugin.c b/openbox/plugin.c index 747bde6f..cd17d215 100644 --- a/openbox/plugin.c +++ b/openbox/plugin.c @@ -176,7 +176,7 @@ void plugin_loadall() } } -void *plugin_create(char *name /* TODO */) +void *plugin_create(char *name, void *data) { Plugin *p = (Plugin *)g_datalist_get_data(&plugins, name); @@ -190,7 +190,7 @@ void *plugin_create(char *name /* TODO */) return NULL; } - return p->create(); + return p->create(data); } void plugin_destroy(char *name, void *data) |
