diff options
author | waker <wakeroid@gmail.com> | 2012-06-04 08:50:26 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-06-04 08:50:26 +0200 |
commit | d23b8dd63bd2821dd1a4103504af143495dc0ae1 (patch) | |
tree | 285a715089f7ecf61f410ce858044b8b9b740bb2 /deadbeef.h | |
parent | 4a41e6c82b0ec65a170fcd9e4ba9284d72566199 (diff) |
fixed accidental API break caused by run_dialog
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1114,6 +1114,9 @@ typedef struct { const char *layout; void (*set_param) (const char *key, const char *value); void (*get_param) (const char *key, char *value, int len, const char *def); + + // parent was added in 1.4 API + void *parent; } ddb_dialog_t; enum { @@ -1129,12 +1132,9 @@ enum { typedef struct DB_gui_s { DB_plugin_t plugin; - // obsolete, don't use - int (*run_dialog_1) (ddb_dialog_t *dlg, uint32_t buttons, int (*callback)(int button, void *ctx), void *ctx); - // returns response code (ddb_button_*) // buttons is a bitset, e.g. (1<<ddb_button_ok)|(1<<ddb_button_cancel) - int (*run_dialog) (void *parentwindow, ddb_dialog_t *dlg, uint32_t buttons, int (*callback)(int button, void *ctx), void *ctx); + int (*run_dialog) (ddb_dialog_t *dlg, uint32_t buttons, int (*callback)(int button, void *ctx), void *ctx); } DB_gui_t; // playlist plugin |