From d23b8dd63bd2821dd1a4103504af143495dc0ae1 Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 4 Jun 2012 08:50:26 +0200 Subject: fixed accidental API break caused by run_dialog --- deadbeef.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'deadbeef.h') diff --git a/deadbeef.h b/deadbeef.h index 51e39b10..a8f49039 100644 --- a/deadbeef.h +++ b/deadbeef.h @@ -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<