diff options
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r-- | apps/plugins/properties.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index 0af98106d2..5fee435808 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c | |||
@@ -22,9 +22,7 @@ | |||
22 | 22 | ||
23 | PLUGIN_HEADER | 23 | PLUGIN_HEADER |
24 | 24 | ||
25 | static const struct plugin_api* rb; | 25 | MEM_FUNCTION_WRAPPERS; |
26 | |||
27 | MEM_FUNCTION_WRAPPERS(rb); | ||
28 | 26 | ||
29 | bool its_a_dir = false; | 27 | bool its_a_dir = false; |
30 | 28 | ||
@@ -254,9 +252,8 @@ char * get_props(int selected_item, void* data, char *buffer, size_t buffer_len) | |||
254 | return buffer; | 252 | return buffer; |
255 | } | 253 | } |
256 | 254 | ||
257 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) | 255 | enum plugin_status plugin_start(const void* parameter) |
258 | { | 256 | { |
259 | rb = api; | ||
260 | struct gui_synclist properties_lists; | 257 | struct gui_synclist properties_lists; |
261 | int button; | 258 | int button; |
262 | bool prev_show_statusbar; | 259 | bool prev_show_statusbar; |