Skip to content

Commit

Permalink
Use 'new' system directory API since get_plugin_dir is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba160 authored and Oleksiy-Yakovenko committed Jul 4, 2018
1 parent e1f8426 commit a567829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins.c
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ plug_load_all (void) {

background_jobs_mutex = mutex_create ();

const char *dirname = deadbeef->get_plugin_dir ();
const char *dirname = plug_get_system_dir (DDB_SYS_DIR_PLUGIN);

// remember how many plugins to skip if called Nth time
plugin_t *prev_plugins_tail = plugins_tail;
Expand Down

0 comments on commit a567829

Please sign in to comment.